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/journal.c | |
parent | f13fd87a39225eae57d4ddf824a09acb1955abd1 (diff) |
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/journal.c')
-rw-r--r-- | fs/bcachefs/journal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/journal.c b/fs/bcachefs/journal.c index 11b44467aeab..750509661d79 100644 --- a/fs/bcachefs/journal.c +++ b/fs/bcachefs/journal.c @@ -817,7 +817,7 @@ static int __bch2_set_nr_journal_buckets(struct bch_dev *ca, unsigned nr, } } else { rcu_read_lock(); - ob = bch2_bucket_alloc(c, ca, RESERVE_NONE, + ob = bch2_bucket_alloc(c, ca, RESERVE_none, false, cl); rcu_read_unlock(); if (IS_ERR(ob)) { |