Commit a7451c42 authored by Kent Overstreet's avatar Kent Overstreet Committed by Kent Overstreet

bcachefs: fix bch2_flags_to_text()

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent ba5c6557
...@@ -143,10 +143,10 @@ void bch2_flags_to_text(struct printbuf *out, ...@@ -143,10 +143,10 @@ void bch2_flags_to_text(struct printbuf *out,
nr++; nr++;
while (flags && (bit = __ffs(flags)) < nr) { while (flags && (bit = __ffs(flags)) < nr) {
pr_buf(out, "%s", list[bit]);
if (!first) if (!first)
pr_buf(out, ","); pr_buf(out, ",");
first = false; first = false;
pr_buf(out, "%s", list[bit]);
flags ^= 1 << bit; flags ^= 1 << bit;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment