diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-06-24 19:30:10 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:04 -0400 |
commit | e53a961c6b1ced2ac1ab69fdf56706cf21e6f7a6 (patch) | |
tree | d819ad359a6011532bcdec8d8820797d829d3d04 /fs/bcachefs/sysfs.c | |
parent | e9d017234ff96ed9820dc7cd3a4c940af44330bf (diff) | |
download | linux-e53a961c6b1ced2ac1ab69fdf56706cf21e6f7a6.tar.gz linux-e53a961c6b1ced2ac1ab69fdf56706cf21e6f7a6.tar.bz2 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/sysfs.c')
-rw-r--r-- | fs/bcachefs/sysfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/bcachefs/sysfs.c b/fs/bcachefs/sysfs.c index 54e1071ecfeb..364cbcd2654e 100644 --- a/fs/bcachefs/sysfs.c +++ b/fs/bcachefs/sysfs.c @@ -850,8 +850,8 @@ static void dev_alloc_debug_to_text(struct printbuf *out, struct bch_dev *ca) prt_printf(out, "reserves:"); prt_newline(out); - for (i = 0; i < RESERVE_NR; i++) { - prt_str(out, bch2_alloc_reserves[i]); + for (i = 0; i < BCH_WATERMARK_NR; i++) { + prt_str(out, bch2_watermarks[i]); prt_tab(out); prt_u64(out, bch2_dev_buckets_reserved(ca, i)); prt_tab_rjust(out); |