summaryrefslogtreecommitdiff
path: root/fs/ntfs3/frecord.c
diff options
context:
space:
mode:
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2021-09-09 13:15:20 +0300
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2021-09-21 18:37:01 +0300
commit6354467245ff8dd04b54e39790f2ee4d21d5419e (patch)
tree5113b96325e1f9813687c626827cfb4a6fdae3a5 /fs/ntfs3/frecord.c
parent56eaeb10e2619081cc383febf6740a4c3e806777 (diff)
downloadlinux-6354467245ff8dd04b54e39790f2ee4d21d5419e.tar.xz
fs/ntfs3: Add sync flag to ntfs_sb_write_run and al_update
This allows to wait only when it's requested. It speeds up creation of hardlinks. Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs/ntfs3/frecord.c')
-rw-r--r--fs/ntfs3/frecord.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ntfs3/frecord.c b/fs/ntfs3/frecord.c
index 0d00b2301a2f..9a53f809576d 100644
--- a/fs/ntfs3/frecord.c
+++ b/fs/ntfs3/frecord.c
@@ -3208,7 +3208,7 @@ int ni_write_inode(struct inode *inode, int sync, const char *hint)
goto out;
}
- err = al_update(ni);
+ err = al_update(ni, sync);
if (err)
goto out;
}