diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2013-11-04 10:13:26 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-11-11 22:13:58 -0500 |
commit | 91aef86f3b8ab0685d930a5468254384513d1c97 (patch) | |
tree | c4819f24afd7231c1d14c2ba3d990bd777978c47 /fs/btrfs/ioctl.c | |
parent | b02441999efcc6152b87cd58e7970bb7843f76cf (diff) |
Btrfs: rename btrfs_start_all_delalloc_inodes
rename the function -- btrfs_start_all_delalloc_inodes(), and make its
name be compatible to btrfs_wait_ordered_roots(), since they are always
used at the same place.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r-- | fs/btrfs/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index d4f2861b0d9e..1d04b5559e61 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c | |||
@@ -4542,7 +4542,7 @@ long btrfs_ioctl(struct file *file, unsigned int | |||
4542 | case BTRFS_IOC_SYNC: { | 4542 | case BTRFS_IOC_SYNC: { |
4543 | int ret; | 4543 | int ret; |
4544 | 4544 | ||
4545 | ret = btrfs_start_all_delalloc_inodes(root->fs_info, 0); | 4545 | ret = btrfs_start_delalloc_roots(root->fs_info, 0); |
4546 | if (ret) | 4546 | if (ret) |
4547 | return ret; | 4547 | return ret; |
4548 | ret = btrfs_sync_fs(file->f_dentry->d_sb, 1); | 4548 | ret = btrfs_sync_fs(file->f_dentry->d_sb, 1); |