]> 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>
Fri, 9 Dec 2011 03:27:01 +0000 (14:27 +1100)
committerNeilBrown <neilb@suse.de>
Fri, 9 Dec 2011 03:27:01 +0000 (14:27 +1100)
commita4c1f178823629db80ffd723e53d8f4bd1e4143c
tree9d7a4d1aa269bc32533d1bee28bf87169dc509bd
parent72d478f146ba16845a6b1cdb6d1de349caef7724
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