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>
Showing
- drivers/md/md.c 3 additions, 3 deletionsdrivers/md/md.c
- drivers/md/md.h 1 addition, 1 deletiondrivers/md/md.h
- drivers/md/multipath.c 3 additions, 4 deletionsdrivers/md/multipath.c
- drivers/md/raid1.c 3 additions, 4 deletionsdrivers/md/raid1.c
- drivers/md/raid10.c 3 additions, 4 deletionsdrivers/md/raid10.c
- drivers/md/raid5.c 5 additions, 5 deletionsdrivers/md/raid5.c
Loading
Please register or sign in to comment