]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Btrfs: confirmation of value is added before trace_btrfs_get_extent() is called
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Mon, 1 Oct 2012 09:08:37 +0000 (03:08 -0600)
committerChris Mason <chris.mason@fusionio.com>
Mon, 1 Oct 2012 19:35:06 +0000 (15:35 -0400)
commitdcf844b9a786197dc4b5a84b52247561328b64b3
tree2082e3b47ea1638b04af80b4e1a7db58d985e25a
parent9592a7877ee5a43dde9d5d27e0725ab088c03d72
Btrfs: confirmation of value is added before trace_btrfs_get_extent() is called

We should confirm the value of extent_map before calling
trace_btrfs_get_extent() because the value of extent_map has the
possibility of NULL.

Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
fs/btrfs/inode.c