summaryrefslogtreecommitdiffstats
path: root/drivers/cdrom/cdrom.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-07-08 14:25:41 +0200
committerJens Axboe <axboe@kernel.dk>2020-07-09 00:19:47 +0200
commita564e23f0f99759f453dbefcb9160dec6d99df96 (patch)
tree85276e79d4624c891bc37341e87c29e7b5e8ebd6 /drivers/cdrom/cdrom.c
parentblk-mq: centralise related handling into blk_mq_get_driver_tag (diff)
downloadlinux-a564e23f0f99759f453dbefcb9160dec6d99df96.tar.xz
linux-a564e23f0f99759f453dbefcb9160dec6d99df96.zip
md: switch to ->check_events for media change notifications
md is the last driver using the legacy media_changed method. Switch it over to (not so) new ->clear_events approach, which also removes the need for the ->revalidate_disk method. Signed-off-by: Christoph Hellwig <hch@lst.de> [axboe: remove unused 'bdops' variable in disk_clear_events()] Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/cdrom/cdrom.c')
0 files changed, 0 insertions, 0 deletions