]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: print-tree: move code for processing file extent item into helper
authorFilipe Manana <fdmanana@suse.com>
Mon, 15 Sep 2025 14:23:43 +0000 (15:23 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 23 Sep 2025 06:49:23 +0000 (08:49 +0200)
commit00b7eaaaa5ac1d686f8f5edc2f999710304236dc
tree55d1ab6c7897e0251eb8754566f4addebba9f483
parentcaac17073760d30a879517145f033a72eee507ae
btrfs: print-tree: move code for processing file extent item into helper

The code for processing file extent items is quite large and it's better
to have it in a dedicated helper rather than in a huge switch statement,
just like we do 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>
fs/btrfs/print-tree.c