summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorMiao Xie2013-11-04 16:13:26 +0100
committerChris Mason2013-11-12 04:13:58 +0100
commit91aef86f3b8ab0685d930a5468254384513d1c97 (patch)
treec4819f24afd7231c1d14c2ba3d990bd777978c47 /fs/btrfs/inode.c
parentBtrfs: don't wait for the completion of all the ordered extents (diff)
downloadkernel-qcow2-linux-91aef86f3b8ab0685d930a5468254384513d1c97.tar.gz
kernel-qcow2-linux-91aef86f3b8ab0685d930a5468254384513d1c97.tar.xz
kernel-qcow2-linux-91aef86f3b8ab0685d930a5468254384513d1c97.zip
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/inode.c')
-rw-r--r--fs/btrfs/inode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 57fa19d69e90..da8d2f696ac5 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -8306,8 +8306,7 @@ int btrfs_start_delalloc_inodes(struct btrfs_root *root, int delay_iput)
return ret;
}
-int btrfs_start_all_delalloc_inodes(struct btrfs_fs_info *fs_info,
- int delay_iput)
+int btrfs_start_delalloc_roots(struct btrfs_fs_info *fs_info, int delay_iput)
{
struct btrfs_root *root;
struct list_head splice;