Skip to content
Commit a564e23f authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
[axboe: remove unused 'bdops' variable in disk_clear_events()]
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 568f2700
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment