From 1ab242d891e639f756a8f3be678e68d7d3d5b55d Mon Sep 17 00:00:00 2001 From: Adam Kwolek Date: Thu, 9 Jun 2011 13:00:55 +1000 Subject: [PATCH] imsm: FIX: Do not verify unused parameters Parameters that are not used by imsm_manage_reshape() should not cause failure of this function. Signed-off-by: Adam Kwolek Signed-off-by: NeilBrown --- super-intel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/super-intel.c b/super-intel.c index 0ac3827..fad90d2 100644 --- a/super-intel.c +++ b/super-intel.c @@ -8688,7 +8688,7 @@ static int imsm_manage_reshape( unsigned long long start_buf_shift; /* [bytes] */ int degraded = 0; - if (!fds || !offsets || !destfd || !destoffsets || !sra) + if (!fds || !offsets || !sra) goto abort; /* Find volume during the reshape */