• Tejun Heo's avatar
    swim[3]: Convert to bdops->check_events() · 4bbde777
    Tejun Heo authored
    Convert from ->media_changed() to ->check_events().
    
    Both swim and swim3 buffer media changed state and clear it on
    revalidation.  They 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: Laurent Vivier <laurent@lvivier.info>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    4bbde777
swim3.c 29.7 KB