summaryrefslogtreecommitdiff
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-06-25 11:15:23 (GMT)
committerChris Mason <chris.mason@fusionio.com>2012-07-23 20:27:53 (GMT)
commit23291a044c31f9dfdeaf633b631059fb75e5c2c4 (patch)
tree312f2561eec756a4cb585c6c02069d546880f63f /fs/btrfs/tree-log.c
parent44c44af2f4a6dc1595f1711cf307bd01062fd129 (diff)
downloadlinux-fsl-qoriq-23291a044c31f9dfdeaf633b631059fb75e5c2c4.tar.xz
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>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions