Skip to content

Commit 075cabf

Browse files
author
Kent Overstreet
committed
bcachefs: Fix forgetting to pass trans to fsck_err()
Reported-by: syzbot+e3938cd6d761b78750e6@syzkaller.appspotmail.com Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
1 parent c2f6e16 commit 075cabf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/bcachefs/buckets.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ static int __bch2_trans_mark_metadata_bucket(struct btree_trans *trans,
925925
return PTR_ERR(a);
926926

927927
if (a->v.data_type && type && a->v.data_type != type) {
928-
bch2_fsck_err(c, FSCK_CAN_IGNORE|FSCK_NEED_FSCK,
928+
bch2_fsck_err(trans, FSCK_CAN_IGNORE|FSCK_NEED_FSCK,
929929
bucket_metadata_type_mismatch,
930930
"bucket %llu:%llu gen %u different types of data in same bucket: %s, %s\n"
931931
"while marking %s",

0 commit comments

Comments
 (0)