diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-03-13 19:27:55 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:29 -0400 |
commit | 3e1547116fe70f49c88e1ee400966a1c7b1bec3a (patch) | |
tree | aed1c4cc0a205642478c18bbdd8525a17394fe34 /fs/bcachefs/alloc_foreground.h | |
parent | f13fd87a39225eae57d4ddf824a09acb1955abd1 (diff) | |
download | linux-3e1547116fe70f49c88e1ee400966a1c7b1bec3a.tar.gz linux-3e1547116fe70f49c88e1ee400966a1c7b1bec3a.tar.bz2 linux-3e1547116fe70f49c88e1ee400966a1c7b1bec3a.zip |
bcachefs: x-macroize alloc_reserve enum
This makes an array of strings available, like our other enums.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/alloc_foreground.h')
-rw-r--r-- | fs/bcachefs/alloc_foreground.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/alloc_foreground.h b/fs/bcachefs/alloc_foreground.h index d466bda9afc8..3598c70b93b4 100644 --- a/fs/bcachefs/alloc_foreground.h +++ b/fs/bcachefs/alloc_foreground.h @@ -12,6 +12,8 @@ struct bch_dev; struct bch_fs; struct bch_devs_List; +extern const char * const bch2_alloc_reserves[]; + struct dev_alloc_list { unsigned nr; u8 devs[BCH_SB_MEMBERS_MAX]; |