aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/ctree.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-10-15 16:22:11 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:03:56 -0400
commitcf786e79e3f96f4bc037c69e1a7afb5fb85c6111 (patch)
tree5d6acee007d82cd477033d77115f4fb1362db41c /fs/btrfs/ctree.c
parent304fced668079ce222200d5742657d34cc44af09 (diff)
Btrfs: Defrag: only walk into nodes with the defrag bit set
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r--fs/btrfs/ctree.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c
index e1557e573d7..984f4745440 100644
--- a/fs/btrfs/ctree.c
+++ b/fs/btrfs/ctree.c
@@ -280,7 +280,6 @@ int btrfs_realloc_node(struct btrfs_trans_handle *trans,
*last_ret = search_start;
if (parent_level == 1)
btrfs_clear_buffer_defrag(tmp);
- btrfs_set_buffer_defrag_done(tmp);
free_extent_buffer(tmp);
}
return err;