From: NeilBrown Date: Tue, 9 Jun 2009 06:32:22 +0000 (+1000) Subject: md/raid5: fix bug in reshape code when chunk_size decreases. X-Git-Tag: v2.6.30~8^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e6e0271a210817e202c8a4bfffbde3e3c0616d1;p=pandora-kernel.git md/raid5: fix bug in reshape code when chunk_size decreases. Now that we support changing the chunksize, we calculate "reshape_sectors" to be the max of number of sectors in old and new chunk size. However there is one please where we still use 'chunksize' rather than 'reshape_sectors'. This causes a reshape that reduces the size of chunks to freeze. Signed-off-by: NeilBrown --- Reading git-diff-tree failed