Take extent offset in account on uncompressed extents
This commit is contained in:
parent
228f95a250
commit
565f076311
1 changed files with 1 additions and 0 deletions
|
@ -989,6 +989,7 @@ grub_btrfs_extent_read (struct grub_btrfs_data *data,
|
||||||
}
|
}
|
||||||
err = grub_btrfs_read_logical (data,
|
err = grub_btrfs_read_logical (data,
|
||||||
grub_le_to_cpu64 (data->extent->laddr)
|
grub_le_to_cpu64 (data->extent->laddr)
|
||||||
|
+ grub_le_to_cpu64 (data->extent->offset)
|
||||||
+ extoff,
|
+ extoff,
|
||||||
buf, csize);
|
buf, csize);
|
||||||
if (err)
|
if (err)
|
||||||
|
|
Loading…
Reference in a new issue