mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
Btrfs: fix error handling in __add_reloc_root()
We dereferenced "node" in the error message after freeing it. Also btrfs_panic() can return so we should return an error code instead of continuing. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
This commit is contained in:
parent
44c44af2f4
commit
23291a044c
1 changed files with 2 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue