diff options
author | Konstantin Komarov | 2024-06-03 09:57:12 +0300 |
---|---|---|
committer | Konstantin Komarov | 2024-06-07 14:31:09 +0300 |
commit | bc81e773fec1bf83852b3bc6f6ad25125bf26416 (patch) | |
tree | 96c5672255f83d2f0478338d8cf3b78a41168ea6 /fs/ntfs3 | |
parent | 24c5100aceedcd47af89aaa404d4c96cd2837523 (diff) |
fs/ntfs3: Remove sync_blockdev_nowait()
Flush the file mapping directly.
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs/ntfs3')
-rw-r--r-- | fs/ntfs3/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ntfs3/inode.c b/fs/ntfs3/inode.c index 2a7348b7a167..aca697f6b428 100644 --- a/fs/ntfs3/inode.c +++ b/fs/ntfs3/inode.c @@ -1093,7 +1093,7 @@ int ntfs_flush_inodes(struct super_block *sb, struct inode *i1, if (!ret && i2) ret = writeback_inode(i2); if (!ret) - ret = sync_blockdev_nowait(sb->s_bdev); + ret = filemap_flush(sb->s_bdev_file->f_mapping); return ret; } |