commit | 23291a044c31f9dfdeaf633b631059fb75e5c2c4 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Jun 25 05:15:23 2012 -0600 |
committer | Chris Mason <chris.mason@fusionio.com> | Mon Jul 23 16:27:53 2012 -0400 |
tree | 312f2561eec756a4cb585c6c02069d546880f63f | |
parent | 44c44af2f4a6dc1595f1711cf307bd01062fd129 [diff] |
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>