aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2020-08-04 23:12:49 -0400
committerKent Overstreet <[email protected]>2023-10-22 17:08:43 -0400
commit00c24f53b563dafb2de8c5f642d24ac775b4479c (patch)
tree48b27c69654e4c7906d9dfd28f22a93f0703cf97
parent768b42a7eb91b556cfe7c467c0e7337602eb6f29 (diff)
bcachefs: Fix bch2_new_stripes_to_text()
painful looking typo, fortunately difficult to hit. Signed-off-by: Kent Overstreet <[email protected]> Signed-off-by: Kent Overstreet <[email protected]>
-rw-r--r--fs/bcachefs/ec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/ec.c b/fs/bcachefs/ec.c
index 61bc34225bf1..2120f0a9b424 100644
--- a/fs/bcachefs/ec.c
+++ b/fs/bcachefs/ec.c
@@ -1594,7 +1594,7 @@ void bch2_new_stripes_to_text(struct printbuf *out, struct bch_fs *c)
mutex_unlock(&c->ec_stripe_head_lock);
mutex_lock(&c->ec_stripe_new_lock);
- list_for_each_entry(h, &c->ec_stripe_new_list, list) {
+ list_for_each_entry(s, &c->ec_stripe_new_list, list) {
pr_buf(out, "\tin flight: blocks %u allocated %u pin %u\n",
s->blocks.nr,
bitmap_weight(s->blocks_allocated,