aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/rpc_pipe_fs.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-11-12 16:34:22 +0100
committerJ. Bruce Fields <bfields@redhat.com>2019-11-12 11:43:29 -0500
commitd05a0201969045f4c488f7cf1d024089949a68b6 (patch)
tree90b33c58769b4c1162c107420a619ba40e7e1279 /include/linux/sunrpc/rpc_pipe_fs.h
parentrace in exportfs_decode_fh() (diff)
downloadlinux-dev-d05a0201969045f4c488f7cf1d024089949a68b6.tar.xz
linux-dev-d05a0201969045f4c488f7cf1d024089949a68b6.zip
sunrpc: remove __KERNEL__ ifdefs
Remove the __KERNEL__ ifdefs from the non-UAPI sunrpc headers, as those can't be included from user space programs. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include/linux/sunrpc/rpc_pipe_fs.h')
-rw-r--r--include/linux/sunrpc/rpc_pipe_fs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/sunrpc/rpc_pipe_fs.h b/include/linux/sunrpc/rpc_pipe_fs.h
index e90b9bd99ded..cd188a527d16 100644
--- a/include/linux/sunrpc/rpc_pipe_fs.h
+++ b/include/linux/sunrpc/rpc_pipe_fs.h
@@ -2,8 +2,6 @@
#ifndef _LINUX_SUNRPC_RPC_PIPE_FS_H
#define _LINUX_SUNRPC_RPC_PIPE_FS_H
-#ifdef __KERNEL__
-
#include <linux/workqueue.h>
struct rpc_pipe_dir_head {
@@ -133,4 +131,3 @@ extern void unregister_rpc_pipefs(void);
extern bool gssd_running(struct net *net);
#endif
-#endif