diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-11-29 21:12:47 -0500 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-12-21 01:36:21 -0500 |
| commit | c9b9afe78c436bb6d64ac0d3fa255c9cc232f2a9 (patch) | |
| tree | 3e8969a603005a4d5c140fffba635c7cb24b1fd8 | |
| parent | 2f8d5edf556a7499a188c8b38a650bed5aebcdbf (diff) | |
| download | linux-c9b9afe78c436bb6d64ac0d3fa255c9cc232f2a9.tar.gz linux-c9b9afe78c436bb6d64ac0d3fa255c9cc232f2a9.zip | |
bcachefs: Fix fsck.c build in userspace
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
| -rw-r--r-- | fs/bcachefs/fsck.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/bcachefs/fsck.c b/fs/bcachefs/fsck.c index f2174528ee5f..cc15ff135cd6 100644 --- a/fs/bcachefs/fsck.c +++ b/fs/bcachefs/fsck.c @@ -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 */ |
