]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
Btrfs: check return value of alloc_extent_map()
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Mon, 14 Feb 2011 00:45:29 +0000 (00:45 +0000)
committerChris Mason <chris.mason@oracle.com>
Mon, 14 Feb 2011 21:21:37 +0000 (16:21 -0500)
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 <t-itoh@jp.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>

No differences found