From: Dan Carpenter Date: Mon, 25 Jun 2012 11:15:23 +0000 (-0600) Subject: Btrfs: fix error handling in __add_reloc_root() X-Git-Tag: v3.6-rc1~81^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23291a044c31f9dfdeaf633b631059fb75e5c2c4;p=pandora-kernel.git 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 --- Reading git-diff-tree failed