aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/btrfs/disk-io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 0eb1f0951251..40a62b980087 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -644,6 +644,7 @@ static int btree_io_failed_hook(struct bio *failed_bio,
644 clear_bit(EXTENT_BUFFER_READAHEAD, &eb->bflags); 644 clear_bit(EXTENT_BUFFER_READAHEAD, &eb->bflags);
645 btree_readahead_hook(root, eb, eb->start, -EIO); 645 btree_readahead_hook(root, eb, eb->start, -EIO);
646 } 646 }
647 free_extent_buffer(eb);
647 648
648out: 649out:
649 return -EIO; /* we fixed nothing */ 650 return -EIO; /* we fixed nothing */