From 00c24f53b563dafb2de8c5f642d24ac775b4479c Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Tue, 4 Aug 2020 23:12:49 -0400 Subject: [PATCH] bcachefs: Fix bch2_new_stripes_to_text() painful looking typo, fortunately difficult to hit. Signed-off-by: Kent Overstreet Signed-off-by: Kent Overstreet --- fs/bcachefs/ec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/bcachefs/ec.c b/fs/bcachefs/ec.c index 61bc34225bf1d..2120f0a9b424b 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, -- 2.30.2