aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ioctl.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2008-12-02 09:53:09 -0500
committerChris Mason <chris.mason@oracle.com>2008-12-02 09:53:09 -0500
commit1ffa4f426c002161b7dbd58b297f5d0680e7dd6a (patch)
tree5839170f90f7929f4c96453c74f808648c006318 /fs/btrfs/ioctl.c
parent6e3ad88729103c4d19703311253fab8a49669fa8 (diff)
Btrfs: remove unneeded btrfs_start_delalloc_inodes call
It is called by btrfs_sync_fs. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r--fs/btrfs/ioctl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index f3d68457e66a..35f650e183e1 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -1142,7 +1142,6 @@ long btrfs_ioctl(struct file *file, unsigned int
1142 case BTRFS_IOC_TRANS_END: 1142 case BTRFS_IOC_TRANS_END:
1143 return btrfs_ioctl_trans_end(file); 1143 return btrfs_ioctl_trans_end(file);
1144 case BTRFS_IOC_SYNC: 1144 case BTRFS_IOC_SYNC:
1145 btrfs_start_delalloc_inodes(root);
1146 btrfs_sync_fs(file->f_dentry->d_sb, 1); 1145 btrfs_sync_fs(file->f_dentry->d_sb, 1);
1147 return 0; 1146 return 0;
1148 } 1147 }