diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-04-29 15:16:18 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:21 -0400 |
commit | a7451c42926c894956fee3b455619c3e0387219f (patch) | |
tree | d96cf8d7f25b54daf28e399a4359deebf5d49ff0 /fs/bcachefs/util.c | |
parent | ba5c65576b9d46a05ce2c709c88886f11432a204 (diff) |
bcachefs: fix bch2_flags_to_text()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/util.c')
-rw-r--r-- | fs/bcachefs/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/util.c b/fs/bcachefs/util.c index 295f4577e9c1..0ca1fb59f54d 100644 --- a/fs/bcachefs/util.c +++ b/fs/bcachefs/util.c @@ -143,10 +143,10 @@ void bch2_flags_to_text(struct printbuf *out, nr++; while (flags && (bit = __ffs(flags)) < nr) { - pr_buf(out, "%s", list[bit]); if (!first) pr_buf(out, ","); first = false; + pr_buf(out, "%s", list[bit]); flags ^= 1 << bit; } } |