Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7a2d6a64 authored by Tsutomu Itoh's avatar Tsutomu Itoh Committed by Chris Mason
Browse files

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: default avatarTsutomu Itoh <t-itoh@jp.fujitsu.com>
parent 8d1a1317
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2110,7 +2110,7 @@ static int bio_readpage_error(struct bio *failed_bio, struct page *page,
		}
		read_unlock(&em_tree->lock);

		if (!em || IS_ERR(em)) {
		if (!em) {
			kfree(failrec);
			return -EIO;
		}