]> git.baikalelectronics.ru Git - kernel.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>
Tue, 9 Oct 2012 13:15:42 +0000 (09:15 -0400)
commit3a8fd9474d4c7e4a67439fe6af64f8349dfc6d37
tree1d0c37da707984971f14f48966b40d5c86ea63ee
parentc5c355fa72052085ab29d83c2aaed5ddfa55ee7b
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