diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-08-04 23:12:49 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2020-08-04 23:25:13 -0400 |
commit | d19078373377e0880095f3f997b1a85fee512a51 (patch) | |
tree | 2e405eded6b0d26f0065d7e3dedbea100804b792 | |
parent | 8198cc36bd1d47efcb490cd6af3f8f933da6ff4c (diff) |
bcachefs: Fix bch2_new_stripes_to_text()
painful looking typo, fortunately difficult to hit.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
-rw-r--r-- | fs/bcachefs/ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/ec.c b/fs/bcachefs/ec.c index 425b0b806cee..5514f65378ad 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, |