• Tejun Heo's avatar
    block: Don't implicitly trigger event check on disk_unblock_events() · facc31dd
    Tejun Heo authored
    Currently, disk_unblock_events() implicitly kick event check if the
    block count reaches zero.  This behavior is not described in the
    comment and hinders with future changes.  Make the unblocker
    explicitly check events by calling disk_check_events() as necessary.
    
    This patch doesn't cause any behavior difference.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Kay Sievers <kay.sievers@vrfy.org>
    facc31dd
block_dev.c 39.4 KB