]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
btrfs: print-tree: print missing fields for inode items
authorFilipe Manana <fdmanana@suse.com>
Wed, 10 Sep 2025 14:11:41 +0000 (15:11 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 23 Sep 2025 06:49:21 +0000 (08:49 +0200)
commitac9affd89949cb7680e29fdb3f5d6d41e4997cd6
tree601506de246116466aa28f43dff80206723ba60d
parentaab9458b9f0019e97fae394c2d6d9d1a03addfb3
btrfs: print-tree: print missing fields for inode items

We are not dumping a lot of fields for an inode item which are useful for
debugging whenever we dump a leaf (log replay failure for example), so add
them and make it as close as possible to the print tree implementation in
btrfs-progs (things like converting timespecs to human readable dates and
converting flags to strings are missing since they are not so practical to
do in the kernel).

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>
fs/btrfs/print-tree.c