aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent-tree.c
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2014-04-02 07:51:06 -0400
committerChris Mason <clm@fb.com>2014-06-09 20:20:45 -0400
commit995946dd2961776bb45e653810ae96643fbf4ce8 (patch)
tree98b3e1b9fd72ccdca5a6fe540cf421a58692deba /fs/btrfs/extent-tree.c
parent1f21ef0a34c37de0daf66fce7141b23b88630f29 (diff)
Btrfs: use helpers for last_trans_log_full_commit instead of opencode
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r--fs/btrfs/extent-tree.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 7c18566fd2b4..203d9a5a4030 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -26,10 +26,9 @@
26#include <linux/ratelimit.h> 26#include <linux/ratelimit.h>
27#include <linux/percpu_counter.h> 27#include <linux/percpu_counter.h>
28#include "hash.h" 28#include "hash.h"
29#include "ctree.h" 29#include "tree-log.h"
30#include "disk-io.h" 30#include "disk-io.h"
31#include "print-tree.h" 31#include "print-tree.h"
32#include "transaction.h"
33#include "volumes.h" 32#include "volumes.h"
34#include "raid56.h" 33#include "raid56.h"
35#include "locking.h" 34#include "locking.h"
@@ -8714,7 +8713,7 @@ int btrfs_make_block_group(struct btrfs_trans_handle *trans,
8714 8713
8715 extent_root = root->fs_info->extent_root; 8714 extent_root = root->fs_info->extent_root;
8716 8715
8717 root->fs_info->last_trans_log_full_commit = trans->transid; 8716 btrfs_set_log_full_commit(root->fs_info, trans);
8718 8717
8719 cache = btrfs_create_block_group_cache(root, chunk_offset, size); 8718 cache = btrfs_create_block_group_cache(root, chunk_offset, size);
8720 if (!cache) 8719 if (!cache)