diff options
author | Paulo Alcantara <pcacjr@zytor.com> | 2015-12-24 01:48:13 -0200 |
---|---|---|
committer | Paulo Alcantara <pcacjr@zytor.com> | 2015-12-27 11:55:38 -0200 |
commit | 548386049cd41e887079cdb904d3954365eb28f3 (patch) | |
tree | 3b0c36b254ea2500c633afb1b3083438ec824b0f /core/fs/xfs/xfs.h | |
parent | 721a0af2f0ba111c31685c5f6c5481eb25346971 (diff) | |
download | syslinux-548386049cd41e887079cdb904d3954365eb28f3.tar.gz |
btrfs: Fix logical to physical block address mapping
The current btrfs support did not handled multiple stripes stored in
chunk items, hence skipping the physical addresses that were needed to
do the mapping.
Besides, the chunk tree may contain DEV_ITEM keys which store
information on all of the underlying block devices, so we must skip them
instead of finishing lookup.
The bug was reproduced with btrfs-progs v4.2.2.
Cc: Gene Cumm <gene.cumm@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
---
v1 -> v2:
* Do not set ignore_key multiple times. Set it before parsing chunk
tree.
v2 -> v3:
* Replace an unnecessary goto with a continue statement.
Diffstat (limited to 'core/fs/xfs/xfs.h')
0 files changed, 0 insertions, 0 deletions