From: Kent Overstreet Date: Wed, 5 Aug 2020 03:12:49 +0000 (-0400) Subject: bcachefs: Fix bch2_new_stripes_to_text() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=00c24f53b563dafb2de8c5f642d24ac775b4479c;p=linux.git bcachefs: Fix bch2_new_stripes_to_text() painful looking typo, fortunately difficult to hit. Signed-off-by: Kent Overstreet Signed-off-by: Kent Overstreet --- 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,