btrfs-progs: Beautify owner when printing leaf/nodes
authorNikolay Borisov <nborisov@suse.com>
Tue, 20 Mar 2018 08:45:51 +0000 (10:45 +0200)
committerDavid Sterba <dsterba@suse.com>
Fri, 30 Mar 2018 20:15:54 +0000 (22:15 +0200)
commit30b852cd7e2299ba7795cd302d783724d88e101f
treeb55dc585b672e6efe57b4123af369c81da8e266c
parent82a1442e9cd025436be8ae65e684fd6b2701efbb
btrfs-progs: Beautify owner when printing leaf/nodes

Currently we print the raw values of the owner field of leaf/nodes.
This can result in output like the following:

leaf 30490624 items 2 free space 16061 generation 4 owner 18446744073709551607

With the patch applied the same leaf looks like:

leaf 30490624 items 2 free space 16061 generation 4 owner DATA_RELOC_TREE

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
print-tree.c