bcachefs: Use x-macros for more enums
authorKent Overstreet <kent.overstreet@gmail.com>
Sun, 21 Feb 2021 00:47:58 +0000 (19:47 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:55 +0000 (17:08 -0400)
commit2436cb9fada98d477bb3508a30e520ab3bfaae3e
tree8931dcf95d2ec9b8cecbd22527bf74e00461f355
parent41f8b09edc25d8ea1f4cee44a9931deb3cf8b9d6
bcachefs: Use x-macros for more enums

This patch standardizes all the enums that have associated string tables
(probably more enums should have string tables).

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
14 files changed:
fs/bcachefs/alloc_background.c
fs/bcachefs/bcachefs_format.h
fs/bcachefs/btree_io.c
fs/bcachefs/checksum.h
fs/bcachefs/error.c
fs/bcachefs/extents.c
fs/bcachefs/journal_io.c
fs/bcachefs/opts.c
fs/bcachefs/opts.h
fs/bcachefs/replicas.c
fs/bcachefs/str_hash.h
fs/bcachefs/super.c
fs/bcachefs/super.h
fs/bcachefs/sysfs.c