aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r--fs/btrfs/ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index 57bc9f33fa3c..e1747701f520 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -4893,7 +4893,7 @@ long btrfs_ioctl(struct file *file, unsigned int
4893 case BTRFS_IOC_SYNC: { 4893 case BTRFS_IOC_SYNC: {
4894 int ret; 4894 int ret;
4895 4895
4896 ret = btrfs_start_delalloc_roots(root->fs_info, 0); 4896 ret = btrfs_start_delalloc_roots(root->fs_info, 0, -1);
4897 if (ret) 4897 if (ret)
4898 return ret; 4898 return ret;
4899 ret = btrfs_sync_fs(file->f_dentry->d_sb, 1); 4899 ret = btrfs_sync_fs(file->f_dentry->d_sb, 1);