bcachefs: Convert some enums to x-macros

Helps for preventing things from getting out of sync.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2019-12-28 20:17:06 -05:00 • committed by Kent Overstreet
commit 1c3ff72c0f
15 changed files with 145 additions and 119 deletions