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/transaction.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/transaction.c')
-rw-r--r-- | fs/btrfs/transaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index 32c100b8c563..57c16b46afbd 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c | |||
@@ -1629,7 +1629,7 @@ static int btrfs_flush_all_pending_stuffs(struct btrfs_trans_handle *trans, | |||
1629 | static inline int btrfs_start_delalloc_flush(struct btrfs_fs_info *fs_info) | 1629 | static inline int btrfs_start_delalloc_flush(struct btrfs_fs_info *fs_info) |
1630 | { | 1630 | { |
1631 | if (btrfs_test_opt(fs_info->tree_root, FLUSHONCOMMIT)) | 1631 | if (btrfs_test_opt(fs_info->tree_root, FLUSHONCOMMIT)) |
1632 | return btrfs_start_all_delalloc_inodes(fs_info, 1); | 1632 | return btrfs_start_delalloc_roots(fs_info, 1); |
1633 | return 0; | 1633 | return 0; |
1634 | } | 1634 | } |
1635 | 1635 | ||