summaryrefslogtreecommitdiffstats
path: root/drivers/ide/cs5536.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-10-11 05:24:13 +0200
committerNeilBrown <neilb@suse.de>2012-10-11 05:24:13 +0200
commite56108d65f8705170d238858616728359542aebb (patch)
treeebb300a8d901cdad3c160575a72e813dc5709728 /drivers/ide/cs5536.c
parentmd: make sure manual changes to recovery checkpoint are saved. (diff)
downloadlinux-e56108d65f8705170d238858616728359542aebb.tar.xz
linux-e56108d65f8705170d238858616728359542aebb.zip
md/raid5: be careful not to resize_stripes too big.
When a RAID5 is reshaping, conf->raid_disks is increased before mddev->delta_disks becomes zero. This can result in check_reshape calling resize_stripes with a number that is too large. This particularly happens when md_check_recovery calls ->check_reshape(). If we use ->previous_raid_disks, we don't risk this. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/ide/cs5536.c')
0 files changed, 0 insertions, 0 deletions