aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-defrag.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/tree-defrag.c')
-rw-r--r--fs/btrfs/tree-defrag.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/tree-defrag.c b/fs/btrfs/tree-defrag.c
index 5935cbd8f2b8..256af1870eef 100644
--- a/fs/btrfs/tree-defrag.c
+++ b/fs/btrfs/tree-defrag.c
@@ -101,6 +101,7 @@ static int defrag_walk_down(struct btrfs_trans_handle *trans,
101 path->slots[*level]++; 101 path->slots[*level]++;
102 continue; 102 continue;
103 } 103 }
104 btrfs_verify_block_csum(root, next);
104 } else { 105 } else {
105 next = read_tree_block(root, bytenr, 106 next = read_tree_block(root, bytenr,
106 btrfs_level_size(root, *level - 1)); 107 btrfs_level_size(root, *level - 1));