aboutsummaryrefslogtreecommitdiffstats
path: root/fs/block_dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/block_dev.c')
-rw-r--r--fs/block_dev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/block_dev.c b/fs/block_dev.c
index 889287019599..fffdf86c1757 100644
--- a/fs/block_dev.c
+++ b/fs/block_dev.c
@@ -1446,6 +1446,7 @@ int blkdev_put(struct block_device *bdev, fmode_t mode)
1446 if (bdev_free) { 1446 if (bdev_free) {
1447 if (bdev->bd_write_holder) { 1447 if (bdev->bd_write_holder) {
1448 disk_unblock_events(bdev->bd_disk); 1448 disk_unblock_events(bdev->bd_disk);
1449 disk_check_events(bdev->bd_disk);
1449 bdev->bd_write_holder = false; 1450 bdev->bd_write_holder = false;
1450 } else 1451 } else
1451 disk_check_events(bdev->bd_disk); 1452 disk_check_events(bdev->bd_disk);