]> git.ipfire.org Git - thirdparty/linux.git/commit
btrfs: print-tree: print dir items for dir index and xattr keys too
authorFilipe Manana <fdmanana@suse.com>
Wed, 10 Sep 2025 16:10:37 +0000 (17:10 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 23 Sep 2025 06:49:22 +0000 (08:49 +0200)
commit93f818e62a081c707e6833f3ba2b7fa25c90199c
tree016773ce956199d50207b00d39e6860c4d5df2ea
parent96fb032238d9bede9d3ade60047b8d604fcb4363
btrfs: print-tree: print dir items for dir index and xattr keys too

Currently we only print the dir items for BTRFS_DIR_ITEM_KEY keys, but
we also have dir items for BTRFS_DIR_INDEX_KEY and BTRFS_XATTR_ITEM_KEY
keys too. So print them for those keys too.

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