projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb9568e
)
ntfs3: use sync_blockdev_nowait
author
Christoph Hellwig
<hch@lst.de>
Tue, 19 Oct 2021 06:25:29 +0000
(08:25 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 22 Oct 2021 14:36:55 +0000
(08:36 -0600)
Use sync_blockdev_nowait instead of opencoding it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link:
https://lore.kernel.org/r/20211019062530.2174626-7-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/ntfs3/inode.c
patch
|
blob
|
history
diff --git
a/fs/ntfs3/inode.c
b/fs/ntfs3/inode.c
index 859951d785cb2f4380c85b1d799f66f008da7d45..a87ab3ad3cd386397e9c210c691824fe83b647a9 100644
(file)
--- a/
fs/ntfs3/inode.c
+++ b/
fs/ntfs3/inode.c
@@
-1046,7
+1046,7
@@
int ntfs_flush_inodes(struct super_block *sb, struct inode *i1,
if (!ret && i2)
ret = writeback_inode(i2);
if (!ret)
- ret =
filemap_flush(sb->s_bdev->bd_inode->i_mapping
);
+ ret =
sync_blockdev_nowait(sb->s_bdev
);
return ret;
}