commit | c26a920373a983b52223eed5a13b97404d8b4158 | [log] [tgz] |
---|---|---|
author | Tsutomu Itoh <t-itoh@jp.fujitsu.com> | Mon Feb 14 00:45:29 2011 +0000 |
committer | Chris Mason <chris.mason@oracle.com> | Mon Feb 14 16:21:37 2011 -0500 |
tree | a7f76fe1b0cecbc712f0b152ff537805f126b113 | |
parent | 67100f255dba284bcbb5ce795355dad1cff35658 [diff] |
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 <t-itoh@jp.fujitsu.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>