]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: checking NULL or not in some functions
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Tue, 1 Feb 2011 09:17:35 +0000 (09:17 +0000)
committerChris Mason <chris.mason@oracle.com>
Tue, 1 Feb 2011 12:16:37 +0000 (07:16 -0500)
commit868c615ba54849b1926cae3782cfd6b3cab2dc10
treeec428f27f1b72c4d8e284831d4bef8894b2b8457
parent5c5c7799e552d36d881d7e161aea75a0a3409a2d
btrfs: checking NULL or not in some functions

Because NULL is returned when the memory allocation fails,
it is checked whether it is NULL.

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