]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
imsm: FIX: Do not verify unused parameters
authorAdam Kwolek <adam.kwolek@intel.com>
Thu, 9 Jun 2011 03:00:55 +0000 (13:00 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 9 Jun 2011 03:00:55 +0000 (13:00 +1000)
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>
super-intel.c

index 0ac3827d14c6f9a7cd6f5e5c58f88fe1196e972f..fad90d2be9963872eea1b2e8c0016640e0776f99 100644 (file)
@@ -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 */