From: Kent Overstreet Date: Thu, 4 Jan 2024 02:46:50 +0000 (-0500) Subject: bcachefs: no thread_with_file in userspace X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d641d4cae72a178334c0c712f701f62cebde18ec;p=linux.git bcachefs: no thread_with_file in userspace Signed-off-by: Kent Overstreet --- diff --git a/fs/bcachefs/thread_with_file.c b/fs/bcachefs/thread_with_file.c index b24baeabf9986..b1c867aa2b58e 100644 --- a/fs/bcachefs/thread_with_file.c +++ b/fs/bcachefs/thread_with_file.c @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 +#ifndef NO_BCACHEFS_FS #include "bcachefs.h" #include "printbuf.h" @@ -294,3 +295,5 @@ int bch2_stdio_redirect_readline(struct stdio_redirect *stdio, char *buf, size_t wake_up(&stdio->input_wait); return ret; } + +#endif /* NO_BCACHEFS_FS */