mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-04 12:12:05 +00:00
bcachefs: Fix fsck.c build in userspace
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
9a956407c2
commit
428a2c2d6b
@ -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 @@ long bch2_ioctl_fsck_online(struct bch_fs *c, struct bch_ioctl_fsck_online arg)
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
#endif /* NO_BCACHEFS_CHARDEV */
|
||||
|
Loading…
Reference in New Issue
Block a user