diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2018-02-28 19:15:30 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-02-28 20:23:35 +0100 |
commit | 392db38058eb47250a9d0cc737af37e78a7e443d (patch) | |
tree | aec4a6d336d91851920429cb157d27ebf4f178a8 /drivers/scsi/scsi_lib.c | |
parent | md: Delete gendisk before cleaning up the request queue (diff) | |
download | linux-392db38058eb47250a9d0cc737af37e78a7e443d.tar.xz linux-392db38058eb47250a9d0cc737af37e78a7e443d.zip |
zram: 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: Minchan Kim <minchan@kernel.org>
Cc: Nitin Gupta <ngupta@vflare.org>
Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
0 files changed, 0 insertions, 0 deletions