projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1dc067
)
bcachefs: Add missing printbuf_reset() in bch2_check_dirent_inode_dirent()
author
Kent Overstreet
<kent.overstreet@linux.dev>
Thu, 29 May 2025 19:02:37 +0000
(15:02 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Fri, 30 May 2025 15:20:18 +0000
(11:20 -0400)
We were accidentally including the contents from the previous
fsck_err().
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/namei.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/bcachefs/namei.c
b/fs/bcachefs/namei.c
index ff7ba297d3ef084c35ea5ca952da127d1fb17d55..c57da4029d3678b1f796ad9ae1239915d8e78b77 100644
(file)
--- a/
fs/bcachefs/namei.c
+++ b/
fs/bcachefs/namei.c
@@
-768,6
+768,7
@@
static int bch2_check_dirent_inode_dirent(struct btree_trans *trans,
ret = __bch2_fsck_write_inode(trans, target);
}
} else {
+ printbuf_reset(&buf);
bch2_bkey_val_to_text(&buf, c, d.s_c);
prt_newline(&buf);
bch2_bkey_val_to_text(&buf, c, bp_dirent.s_c);