We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a4b653 commit 00c5495Copy full SHA for 00c5495
drivers/block/zram/zram_drv.c
@@ -1790,7 +1790,7 @@ static ssize_t reset_store(struct device *dev,
1790
mutex_unlock(&bdev->bd_disk->open_mutex);
1791
1792
/* Make sure all the pending I/O are finished */
1793
- fsync_bdev(bdev);
+ sync_blockdev(bdev);
1794
zram_reset_device(zram);
1795
1796
mutex_lock(&bdev->bd_disk->open_mutex);
@@ -1995,7 +1995,7 @@ static int zram_remove(struct zram *zram)
1995
;
1996
} else {
1997
1998
1999
2000
}
2001
0 commit comments