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>
This commit is contained in:
parent
75b69ea420
commit
1ab242d891
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue