diff options
author | Adam Kwolek <adam.kwolek@intel.com> | 2011-06-09 13:00:55 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-06-09 13:00:55 +1000 |
commit | 1ab242d891e639f756a8f3be678e68d7d3d5b55d (patch) | |
tree | e58972d079ef1e99ce5645097ebbea7bec027dcd | |
parent | 75b69ea42012c2e0b052459ed81678845bec3399 (diff) | |
download | mdadm-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.c | 2 |
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 */ |