diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-02-26 11:10:20 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:26 -0400 |
commit | de517c95513d420d465ca26d354a56d9e6ed6e17 (patch) | |
tree | 25f3fd5f1ff113119f35601786d1cf607ef8b472 /fs/bcachefs/btree_cache.h | |
parent | 55334d78974fa44735bb59229eedde0bcc300ed6 (diff) | |
download | lwn-de517c95513d420d465ca26d354a56d9e6ed6e17.tar.gz lwn-de517c95513d420d465ca26d354a56d9e6ed6e17.zip |
bcachefs: Use x-macros for btree node flags
This is for adding an array of strings for btree node flag names.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/btree_cache.h')
-rw-r--r-- | fs/bcachefs/btree_cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/btree_cache.h b/fs/bcachefs/btree_cache.h index a08d12569075..96f8f90e85a1 100644 --- a/fs/bcachefs/btree_cache.h +++ b/fs/bcachefs/btree_cache.h @@ -5,6 +5,8 @@ #include "bcachefs.h" #include "btree_types.h" +extern const char * const bch2_btree_node_flags[]; + struct btree_iter; void bch2_recalc_btree_reserve(struct bch_fs *); |