commit | b8321b68d1445f308324517e45fb0a5c2b48e271 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Fri Dec 23 10:17:51 2011 +1100 |
committer | NeilBrown <neilb@suse.de> | Fri Dec 23 10:17:51 2011 +1100 |
tree | 3fc4c9b253435753d2154d9bd697a7869163c29a | |
parent | 476a7abb9b00adfe6bf70e82800367319ab8078b [diff] |
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. Reviewed-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: NeilBrown <neilb@suse.de>