diff options
| author | 2019-11-12 16:34:22 +0100 | |
|---|---|---|
| committer | 2019-11-12 11:43:29 -0500 | |
| commit | d05a0201969045f4c488f7cf1d024089949a68b6 (patch) | |
| tree | 90b33c58769b4c1162c107420a619ba40e7e1279 /include/linux/sunrpc/gss_api.h | |
| parent | race in exportfs_decode_fh() (diff) | |
| download | wireguard-linux-d05a0201969045f4c488f7cf1d024089949a68b6.tar.xz wireguard-linux-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/gss_api.h')
| -rw-r--r-- | include/linux/sunrpc/gss_api.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/sunrpc/gss_api.h b/include/linux/sunrpc/gss_api.h index 5ac5db4d295f..bd691e08be3b 100644 --- a/include/linux/sunrpc/gss_api.h +++ b/include/linux/sunrpc/gss_api.h @@ -13,7 +13,6 @@ #ifndef _LINUX_SUNRPC_GSS_API_H #define _LINUX_SUNRPC_GSS_API_H -#ifdef __KERNEL__ #include <linux/sunrpc/xdr.h> #include <linux/sunrpc/msg_prot.h> #include <linux/uio.h> @@ -160,6 +159,5 @@ struct gss_api_mech * gss_mech_get(struct gss_api_mech *); * corresponding call to gss_mech_put. */ void gss_mech_put(struct gss_api_mech *); -#endif /* __KERNEL__ */ #endif /* _LINUX_SUNRPC_GSS_API_H */ |
