commit | d8115c35bf3ee575cfc9c51ac9853f58a21a43dc | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bart.vanassche@wdc.com> | Wed Feb 28 10:15:29 2018 -0800 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Feb 28 12:23:35 2018 -0700 |
tree | 82e68125f8a15746dd3f296fb076c8e01300d2ed | |
parent | 0fa8ebdd4244b8e652cc5341c3d5b4b06f84a637 [diff] |
md: Delete gendisk before cleaning up the request queue Remove the disk, partition and bdi sysfs attributes before cleaning up the request queue associated with the disk. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Cc: Shaohua Li <shli@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>