Skip to content
Commit 068132ba authored by Daniel J Blueman's avatar Daniel J Blueman Committed by David Sterba
Browse files

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: default avatarDaniel J Blueman <daniel.blueman@gmail.com>
parent 60d2adbb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment