mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
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>
This commit is contained in:
parent
e3f24cc521
commit
6848ad6461
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user