bcachefs: helpers for printing data types
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 7 Jan 2024 01:57:43 +0000 (20:57 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 21 Jan 2024 11:01:45 +0000 (06:01 -0500)
commite58f963cecbdb08f28334122afba93a7840beabc
tree0a5e9dd89fceeb1fbd8550958dfe44d1d7981cad
parent38c23fb809f60bda1adfc431b18200b8f68c2025
bcachefs: helpers for printing data types

We need bounds checking since new versions may introduce new data types.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
14 files changed:
fs/bcachefs/alloc_background.c
fs/bcachefs/alloc_foreground.c
fs/bcachefs/btree_gc.c
fs/bcachefs/buckets.c
fs/bcachefs/buckets.h
fs/bcachefs/ec.c
fs/bcachefs/journal_io.c
fs/bcachefs/move.c
fs/bcachefs/opts.c
fs/bcachefs/opts.h
fs/bcachefs/replicas.c
fs/bcachefs/sb-members.c
fs/bcachefs/super.c
fs/bcachefs/sysfs.c