diff options
| author | Christoph Hellwig <hch@lst.de> | 2019-11-12 16:34:22 +0100 |
|---|---|---|
| committer | J. Bruce Fields <bfields@redhat.com> | 2019-11-12 11:43:29 -0500 |
| commit | d05a0201969045f4c488f7cf1d024089949a68b6 (patch) | |
| tree | 90b33c58769b4c1162c107420a619ba40e7e1279 /include/linux/sunrpc/svcauth.h | |
| parent | 581ae686f269194de975fd3385b881fe622a24ab (diff) | |
| download | lwn-d05a0201969045f4c488f7cf1d024089949a68b6.tar.gz lwn-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/svcauth.h')
| -rw-r--r-- | include/linux/sunrpc/svcauth.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/sunrpc/svcauth.h b/include/linux/sunrpc/svcauth.h index 3e53a6e2ada7..b0003866a249 100644 --- a/include/linux/sunrpc/svcauth.h +++ b/include/linux/sunrpc/svcauth.h @@ -10,8 +10,6 @@ #ifndef _LINUX_SUNRPC_SVCAUTH_H_ #define _LINUX_SUNRPC_SVCAUTH_H_ -#ifdef __KERNEL__ - #include <linux/string.h> #include <linux/sunrpc/msg_prot.h> #include <linux/sunrpc/cache.h> @@ -185,6 +183,4 @@ static inline unsigned long hash_mem(char const *buf, int length, int bits) return full_name_hash(NULL, buf, length) >> (32 - bits); } -#endif /* __KERNEL__ */ - #endif /* _LINUX_SUNRPC_SVCAUTH_H_ */ |
