bcachefs: Fix bch2_new_stripes_to_text()
authorKent Overstreet <kent.overstreet@gmail.com>
Wed, 5 Aug 2020 03:12:49 +0000 (23:12 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:43 +0000 (17:08 -0400)
painful looking typo, fortunately difficult to hit.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/ec.c

index 61bc34225bf1dd402f028a2e3da93a06f28dae16..2120f0a9b424b35ba79db088b3cb13321c4fcbe0 100644 (file)
@@ -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,