aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/extent_io.c')
-rw-r--r--fs/btrfs/extent_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c
index e8ee39b73356..67fe401c3209 100644
--- a/fs/btrfs/extent_io.c
+++ b/fs/btrfs/extent_io.c
@@ -2110,7 +2110,7 @@ static int bio_readpage_error(struct bio *failed_bio, struct page *page,
2110 } 2110 }
2111 read_unlock(&em_tree->lock); 2111 read_unlock(&em_tree->lock);
2112 2112
2113 if (!em || IS_ERR(em)) { 2113 if (!em) {
2114 kfree(failrec); 2114 kfree(failrec);
2115 return -EIO; 2115 return -EIO;
2116 } 2116 }