Message ID | AANLkTimCtN1hten5v+tdwG9yiKsFmSMPcQU-eLefDQkc@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 34f7c37..76eb161 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -164,7 +164,7 @@ static struct extent_map *btree_get_extent(struct inode *inode, failed_len); ret = -EIO; } - } else if (ret) { + } else { free_extent_map(em); em = NULL;