projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a64a373
)
bcachefs: no thread_with_file in userspace
author
Kent Overstreet
<kent.overstreet@linux.dev>
Thu, 4 Jan 2024 02:46:50 +0000
(21:46 -0500)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sat, 6 Jan 2024 04:24:20 +0000
(23:24 -0500)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/thread_with_file.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/thread_with_file.c
b/fs/bcachefs/thread_with_file.c
index b24baeabf9986e68c3d70a217c83ae1a76b19ecc..b1c867aa2b58e6f097cba1e4eedc37f55a58cc93 100644
(file)
--- 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 */