From: Tsutomu Itoh Date: Mon, 14 Feb 2011 00:45:29 +0000 (+0000) Subject: Btrfs: check return value of alloc_extent_map() X-Git-Tag: v2.6.38-rc5~14^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c26a920373a983b52223eed5a13b97404d8b4158;p=pandora-kernel.git Btrfs: check return value of alloc_extent_map() I add the check on the return value of alloc_extent_map() to several places. In addition, alloc_extent_map() returns only the address or NULL. Therefore, check by IS_ERR() is unnecessary. So, I remove IS_ERR() checking. Signed-off-by: Tsutomu Itoh Signed-off-by: Chris Mason --- Reading git-diff-tree failed