diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-06-25 01:30:10 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:10:04 +0200 |
commit | e53a961c6b1ced2ac1ab69fdf56706cf21e6f7a6 (patch) | |
tree | d819ad359a6011532bcdec8d8820797d829d3d04 /fs/bcachefs/journal.c | |
parent | bcachefs: BCH_ERR_fsck -> EINVAL (diff) | |
download | linux-e53a961c6b1ced2ac1ab69fdf56706cf21e6f7a6.tar.xz linux-e53a961c6b1ced2ac1ab69fdf56706cf21e6f7a6.zip |
bcachefs: Rename enum alloc_reserve -> bch_watermark
This is prep work for consolidating with JOURNAL_WATERMARK.
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 64332c78a6bb..dc34aba2d259 100644 --- a/fs/bcachefs/journal.c +++ b/fs/bcachefs/journal.c @@ -828,7 +828,7 @@ static int __bch2_set_nr_journal_buckets(struct bch_dev *ca, unsigned nr, break; } } else { - ob[nr_got] = bch2_bucket_alloc(c, ca, RESERVE_none, cl); + ob[nr_got] = bch2_bucket_alloc(c, ca, BCH_WATERMARK_normal, cl); ret = PTR_ERR_OR_ZERO(ob[nr_got]); if (ret) break; |