diff options
| author | 2021-10-25 10:54:26 +0800 | |
|---|---|---|
| committer | 2021-11-02 14:43:12 -0600 | |
| commit | 00c5495c54f785beb0f6a34f7a3674d3ea0997d5 (patch) | |
| tree | 6291fd387dabbb936239a97b9866fe175b5d1959 /lib/math/git:/ssh:/git@git.zx2c4.com | |
| parent | zram: avoid race between zram_remove and disksize_store (diff) | |
| download | linux-dev-00c5495c54f785beb0f6a34f7a3674d3ea0997d5.tar.xz linux-dev-00c5495c54f785beb0f6a34f7a3674d3ea0997d5.zip | |
zram: replace fsync_bdev with sync_blockdev
When calling fsync_bdev(), zram driver guarantees that the bdev won't be
opened by anyone, then there can't be one active fs/superblock over the
zram bdev, so replace fsync_bdev with sync_blockdev.
Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Acked-by: Minchan Kim <minchan@kernel.org>
Link: https://lore.kernel.org/r/20211025025426.2815424-5-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/math/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
