diff options
| author | Qu Wenruo <wqu@suse.com> | 2026-06-21 18:41:48 +0930 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-06-30 02:02:03 +0200 |
| commit | c0041b502e579a5c52e5cae918b90678f03faddd (patch) | |
| tree | 05402cd52091729d6a378c91a7a09c43448bf342 /Documentation/gpu/intel-display/git@git.tavy.me:linux.git | |
| parent | 9e37d187e1e62bd3d450429203f98402cefb3ef2 (diff) | |
btrfs: print-tree: print header owner as signed
When dumping a tree block, btrfs_header::owner is printed as
unsigned, which can result in numbers that are hard to read, e.g.:
BTRFS info (device loop0): leaf 8908800 gen 16 total ptrs 28 free space 1676 owner 18446744073709551607
For the above output, 18446744073709551607 is (s64)-9, the root id of data
reloc tree.
Despite those predefined root ids that are already negative, existing
subvolume trees will not have any negative values, as subvolume trees can
only utilize the lower 48 bits, so there will be no output change for
existing subvolumes, thus no extra confusion.
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Sun YangKai <sunk67188@gmail.com>
Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'Documentation/gpu/intel-display/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
