bcachefs: Fix fsck.c build in userspace

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet
2024-12-21 01:36:21 -05:00
parent 2f8d5edf55
commit c9b9afe78c
+4
View File
@@ -3206,6 +3206,8 @@ int bch2_fix_reflink_p(struct bch_fs *c)
return ret;
}
#ifndef NO_BCACHEFS_CHARDEV
struct fsck_thread {
struct thread_with_stdio thr;
struct bch_fs *c;
@@ -3421,3 +3423,5 @@ err:
}
return ret;
}
#endif /* NO_BCACHEFS_CHARDEV */