forked from luck/tmp_suning_uos_patched
Btrfs: remove unneeded btrfs_start_delalloc_inodes call
It is called by btrfs_sync_fs. Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
6e3ad88729
commit
1ffa4f426c
|
@ -1142,7 +1142,6 @@ long btrfs_ioctl(struct file *file, unsigned int
|
|||
case BTRFS_IOC_TRANS_END:
|
||||
return btrfs_ioctl_trans_end(file);
|
||||
case BTRFS_IOC_SYNC:
|
||||
btrfs_start_delalloc_inodes(root);
|
||||
btrfs_sync_fs(file->f_dentry->d_sb, 1);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user