projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba5c655
)
bcachefs: fix bch2_flags_to_text()
author
Kent Overstreet
<kent.overstreet@gmail.com>
Mon, 29 Apr 2019 19:16:18 +0000
(15:16 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:21 +0000
(17:08 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/util.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/util.c
b/fs/bcachefs/util.c
index 295f4577e9c186f8612a99cb03fdb8372e52d26b..0ca1fb59f54df5ef29d6055f8237a12a7013a4cf 100644
(file)
--- 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;
}
}