diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-10-15 16:22:11 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:03:56 -0400 |
commit | cf786e79e3f96f4bc037c69e1a7afb5fb85c6111 (patch) | |
tree | 5d6acee007d82cd477033d77115f4fb1362db41c /fs/btrfs/ctree.c | |
parent | 304fced668079ce222200d5742657d34cc44af09 (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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index e1557e573d74..984f4745440e 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c | |||
@@ -280,7 +280,6 @@ int btrfs_realloc_node(struct btrfs_trans_handle *trans, | |||
280 | *last_ret = search_start; | 280 | *last_ret = search_start; |
281 | if (parent_level == 1) | 281 | if (parent_level == 1) |
282 | btrfs_clear_buffer_defrag(tmp); | 282 | btrfs_clear_buffer_defrag(tmp); |
283 | btrfs_set_buffer_defrag_done(tmp); | ||
284 | free_extent_buffer(tmp); | 283 | free_extent_buffer(tmp); |
285 | } | 284 | } |
286 | return err; | 285 | return err; |