diff options
author | Filipe Manana <fdmanana@suse.com> | 2025-09-15 11:37:34 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-09-23 08:49:22 +0200 |
commit | c1b9a4782bc6b9169be6b721b161781696cbd1a7 (patch) | |
tree | ba5878d48863126adc64b302cbfd908af3f41b57 /scripts/test_doc_build.py | |
parent | 4dc1c3d0ae6fbfaf8ce5727d1ae098275eb276c6 (diff) |
btrfs: print-tree: print correct inline extent data size
We are advertising the ram_bytes of an inline extent as its data size, but
that is not true for compressed extents. The ram_bytes corresponds to the
uncompressed data size while the data size (compressed data) is given by
btrfs_file_extent_inline_item_len(). So fix this and print both values in
the same format as in btrfs-progs.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/test_doc_build.py')
0 files changed, 0 insertions, 0 deletions