diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c index 536fc4cb8fcc..d7f3d2197fa1 100644 --- a/fs/btrfs/relocation.c +++ b/fs/btrfs/relocation.c @@ -1228,7 +1228,7 @@ out: free_backref_node(cache, lower); } - free_backref_node(cache, node); + remove_backref_node(cache, node); return ERR_PTR(err); } ASSERT(!node || !node->detached);