Btrfs: check return value of read_tree_block()
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Thu, 24 Mar 2011 06:33:21 +0000 (06:33 +0000)
committerroot <Chris Mason chris.mason@oracle.com>
Mon, 28 Mar 2011 09:37:37 +0000 (05:37 -0400)
commit97d9a8a420444eb5b5c071d4b3b9c4100a7ae015
tree4ed3e77541ebcc4885c4a10630e2f6bf94d3cef2
parent7e75bf3ff3a716d7b21d8fb43bf823115801c1e9
Btrfs: check return value of read_tree_block()

This patch is checking return value of read_tree_block(),
and if it is NULL, error processing.

Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.c
fs/btrfs/extent-tree.c
fs/btrfs/relocation.c