bcachefs: Standardize helpers for printing enum strs with bounds checks
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 12 Apr 2024 19:17:00 +0000 (15:17 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 14 Apr 2024 02:48:17 +0000 (22:48 -0400)
commit9abb6dd7ce5a261f7aebf6f396b50a63db71133f
tree81d697fe0dd172159d9da17c6f69a494681e6f93
parentba8ed36e72033dd6b89d44145f323e6c4508bfc9
bcachefs: Standardize helpers for printing enum strs with bounds checks

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/bcachefs_format.h
fs/bcachefs/buckets.h
fs/bcachefs/checksum.c
fs/bcachefs/checksum.h
fs/bcachefs/compress.h
fs/bcachefs/ec.c
fs/bcachefs/extents.c
fs/bcachefs/journal_io.c
fs/bcachefs/opts.c
fs/bcachefs/opts.h