aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/file.c')
-rw-r--r--fs/btrfs/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c
index a85b044cf39e..656bc0a892b1 100644
--- a/fs/btrfs/file.c
+++ b/fs/btrfs/file.c
@@ -1205,6 +1205,7 @@ int btrfs_sync_file(struct file *file, int datasync)
1205 int ret = 0; 1205 int ret = 0;
1206 struct btrfs_trans_handle *trans; 1206 struct btrfs_trans_handle *trans;
1207 1207
1208 trace_btrfs_sync_file(file, datasync);
1208 1209
1209 /* we wait first, since the writeback may change the inode */ 1210 /* we wait first, since the writeback may change the inode */
1210 root->log_batch++; 1211 root->log_batch++;