• Tejun Heo's avatar
    i2o_block: Convert to bdops->check_events() · f47350fd
    Tejun Heo authored
    Convert from ->media_changed() to ->check_events().
    
    i2o_block buffers media changed state and clears it after reporting.
    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: Markus Lidel <Markus.Lidel@shadowconnect.com>
    f47350fd
i2o_block.c 30.9 KB