• Tejun Heo's avatar
    ub: Convert to bdops->check_events() · aaa7c015
    Tejun Heo authored
    Convert from ->media_changed() to ->check_events().
    
    ub buffers media changed state and clears it on revalidation.  It will
    behave correctly with kernel event polling.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Kay Sievers <kay.sievers@vrfy.org>
    Cc: Pete Zaitcev <zaitcev@redhat.com>
    aaa7c015
ub.c 62.2 KB