summaryrefslogtreecommitdiff
path: root/include/trace
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2026-04-29 19:43:10 +0100
committerDavid Sterba <dsterba@suse.com>2026-06-08 15:53:34 +0200
commitb0a599f8e938d733490799457ca48f3346159c00 (patch)
tree5d8b96e73f60d47ae96b50b42028830ee47728d7 /include/trace
parentd32609208782127d99917fb7aeee26738ad89e3f (diff)
downloadlinux-next-b0a599f8e938d733490799457ca48f3346159c00.tar.gz
linux-next-b0a599f8e938d733490799457ca48f3346159c00.zip
btrfs: use a named enum for the log mode in inode log functions
We use this unnamed enum for the log mode and then pass it around log functions as an int type with the odd name "inode_only" which suggests a boolean. So add a name to the enum and change the type everywhere to that enum and rename the parameters to something more clear - "log_mode". Also move the enum into tree-log.h - it will be used later by new trace events. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions