commit | 068132bad1de70f85f5f6d12c36d64f8f7848d92 | [log] [tgz] |
---|---|---|
author | Daniel J Blueman <daniel.blueman@gmail.com> | Thu Jun 23 23:01:01 2011 +0800 |
committer | David Sterba <dsterba@suse.cz> | Thu Oct 20 18:10:50 2011 +0200 |
tree | 7e4a4a164b8153cf463662fbc2ce00f5671f4fa6 | |
parent | 60d2adbb1e7fee1cb4bc67f70bd0bd8ace7b6c3c [diff] |
btrfs: fix oops on failure path If lookup_extent_backref fails, path->nodes[0] reasonably could be null along with other callers of btrfs_print_leaf, so ensure we have a valid extent buffer before dereferencing. Signed-off-by: Daniel J Blueman <daniel.blueman@gmail.com>