mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 07:33:19 +02:00
bcachefs: Fix fsck.c build in userspace
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
2f8d5edf55
commit
c9b9afe78c
|
|
@ -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