summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Kwolek <adam.kwolek@intel.com>2011-06-09 13:00:55 +1000
committerNeilBrown <neilb@suse.de>2011-06-09 13:00:55 +1000
commit1ab242d891e639f756a8f3be678e68d7d3d5b55d (patch)
treee58972d079ef1e99ce5645097ebbea7bec027dcd
parent75b69ea42012c2e0b052459ed81678845bec3399 (diff)
downloadmdadm-1ab242d891e639f756a8f3be678e68d7d3d5b55d.tar.gz
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 <adam.kwolek@intel.com> Signed-off-by: NeilBrown <neilb@suse.de>
-rw-r--r--super-intel.c2
1 files changed, 1 insertions, 1 deletions
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 */