commit | 7a2d6a64645b38d7040bbd031c7a7b2655f5d976 | [log] [tgz] |
---|---|---|
author | Tsutomu Itoh <t-itoh@jp.fujitsu.com> | Mon Oct 01 03:07:15 2012 -0600 |
committer | Chris Mason <chris.mason@fusionio.com> | Tue Oct 09 09:15:43 2012 -0400 |
tree | c9de30e5bfcf283501ee91b63c82c9421fa835cf | |
parent | 8d1a1317af439cc7f349907b79198d35feffe179 [diff] [blame] |
Btrfs: remove unnecessary IS_ERR in bio_readpage_error() Because the value of extent_map is only a correct value or NULL, so IS_ERR is unnecessary. Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index e8ee39b..67fe401 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c
@@ -2110,7 +2110,7 @@ } read_unlock(&em_tree->lock); - if (!em || IS_ERR(em)) { + if (!em) { kfree(failrec); return -EIO; }