projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2f6e16
)
bcachefs: Fix forgetting to pass trans to fsck_err()
author
Kent Overstreet
<kent.overstreet@linux.dev>
Fri, 16 Aug 2024 16:31:29 +0000
(12:31 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Fri, 16 Aug 2024 16:46:40 +0000
(12:46 -0400)
Reported-by: syzbot+e3938cd6d761b78750e6@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/buckets.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/buckets.c
b/fs/bcachefs/buckets.c
index b69ef4b3de6e2a258ca09dfb2afc27d2dc12b239..ad517ef744e57765941c15465182cc2bc0431bae 100644
(file)
--- a/
fs/bcachefs/buckets.c
+++ b/
fs/bcachefs/buckets.c
@@
-925,7
+925,7
@@
static int __bch2_trans_mark_metadata_bucket(struct btree_trans *trans,
return PTR_ERR(a);
if (a->v.data_type && type && a->v.data_type != type) {
- bch2_fsck_err(
c
, FSCK_CAN_IGNORE|FSCK_NEED_FSCK,
+ bch2_fsck_err(
trans
, FSCK_CAN_IGNORE|FSCK_NEED_FSCK,
bucket_metadata_type_mismatch,
"bucket %llu:%llu gen %u different types of data in same bucket: %s, %s\n"
"while marking %s",