]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md: change hot_remove_disk to take an rdev rather than a number.
authorNeilBrown <neilb@suse.de>
Wed, 9 Nov 2011 00:32:05 +0000 (11:32 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 9 Nov 2011 00:32:05 +0000 (11:32 +1100)
commit91e58fcb204add51e4a1d6db1a14787871720c57
tree1ba40b9388659d3b2c950d0f646518fb77e6e4a9
parent3908f3567a9748f9e73b43458be3ae9cb1cfb5b2
md: change hot_remove_disk to take an rdev rather than a number.

Soon an array will be able to have multiple devices with the
same raid_disk number (an original and a replacement).  So removing
a device based on the number won't work.  So pass the actual device
handle instead.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c
drivers/md/md.h
drivers/md/multipath.c
drivers/md/raid1.c
drivers/md/raid10.c
drivers/md/raid5.c