diff options
author | Yan, Zheng <zheng.z.yan@linux.intel.com> | 2011-02-14 21:00:03 (GMT) |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-02-14 21:00:03 (GMT) |
commit | 6848ad6461e551849ba3c32d945d4f45e96453a6 (patch) | |
tree | 86ab53a68e0b3181594808b43ef9fec333ea61f2 /fs/btrfs | |
parent | e3f24cc521cb7ba60ac137abd1939e4e03435e80 (diff) | |
download | linux-fsl-qoriq-6848ad6461e551849ba3c32d945d4f45e96453a6.tar.xz |
Btrfs: Fix balance panic
Mark the cloned backref_node as checked in clone_backref_node()
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/relocation.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c index 1f5556a..0825e4e 100644 --- a/fs/btrfs/relocation.c +++ b/fs/btrfs/relocation.c @@ -1157,6 +1157,7 @@ static int clone_backref_node(struct btrfs_trans_handle *trans, new_node->bytenr = dest->node->start; new_node->level = node->level; new_node->lowest = node->lowest; + new_node->checked = 1; new_node->root = dest; if (!node->lowest) { |