summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/file.c')
-rw-r--r--fs/btrfs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c
index a335e2e6c84d..8f425c64d75f 100644
--- a/fs/btrfs/file.c
+++ b/fs/btrfs/file.c
@@ -2214,7 +2214,7 @@ int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync)
2214 } 2214 }
2215 trans->sync = true; 2215 trans->sync = true;
2216 2216
2217 ret = btrfs_log_dentry_safe(trans, root, dentry, start, end, &ctx); 2217 ret = btrfs_log_dentry_safe(trans, dentry, start, end, &ctx);
2218 if (ret < 0) { 2218 if (ret < 0) {
2219 /* Fallthrough and commit/free transaction. */ 2219 /* Fallthrough and commit/free transaction. */
2220 ret = 1; 2220 ret = 1;