函数源码

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source File:block\genhd.c Create Date:2022-07-27 18:54:58
首页 Copyright©Brick

1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
/**
 * disk_unblock_events - unblock disk event checking
 * @disk: disk to unblock events for
 *
 * Undo disk_block_events().  When the block count reaches zero, it
 * starts events polling if configured.
 *
 * CONTEXT:
 * Don't care.  Safe to call from irq context.
 */
void disk_unblock_events(struct gendisk *disk)
{
    if (disk->ev)
        __disk_unblock_events(disk, false);
}