summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-wlock-softirq.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-06-09 06:30:31 +0200
committerNeilBrown <neilb@suse.de>2009-06-09 06:30:31 +0200
commitf001a70cdc61c01452d42e8b32fd7c7842ef62d5 (patch)
tree6427a1baca4b818aa2081cbeb5534f2e6b17cf5e /lib/locking-selftest-wlock-softirq.h
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jba... (diff)
downloadlinux-f001a70cdc61c01452d42e8b32fd7c7842ef62d5.tar.xz
linux-f001a70cdc61c01452d42e8b32fd7c7842ef62d5.zip
md/raid5: use conf->raid_disks in preference to mddev->raid_disk
mddev->raid_disks can be changed and any time by a request from user-space. It is a suggestion as to what number of raid_disks is desired. conf->raid_disks can only be changed by the raid5 module with suitable locks in place. It is a statement as to the current number of raid_disks. There are two places where the latter should be used, but the former is used. This can lead to a crash when reshaping an array. This patch changes to mddev-> to conf-> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'lib/locking-selftest-wlock-softirq.h')
0 files changed, 0 insertions, 0 deletions