summaryrefslogtreecommitdiff
path: root/include/linux/sunrpc/auth_gss.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-11-12 18:34:22 +0300
committerJ. Bruce Fields <bfields@redhat.com>2019-11-12 19:43:29 +0300
commitd05a0201969045f4c488f7cf1d024089949a68b6 (patch)
tree90b33c58769b4c1162c107420a619ba40e7e1279 /include/linux/sunrpc/auth_gss.h
parent581ae686f269194de975fd3385b881fe622a24ab (diff)
downloadlinux-d05a0201969045f4c488f7cf1d024089949a68b6.tar.xz
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/auth_gss.h')
-rw-r--r--include/linux/sunrpc/auth_gss.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/sunrpc/auth_gss.h b/include/linux/sunrpc/auth_gss.h
index 30427b729070..43e481aa347a 100644
--- a/include/linux/sunrpc/auth_gss.h
+++ b/include/linux/sunrpc/auth_gss.h
@@ -13,7 +13,6 @@
#ifndef _LINUX_SUNRPC_AUTH_GSS_H
#define _LINUX_SUNRPC_AUTH_GSS_H
-#ifdef __KERNEL__
#include <linux/refcount.h>
#include <linux/sunrpc/auth.h>
#include <linux/sunrpc/svc.h>
@@ -90,6 +89,5 @@ struct gss_cred {
unsigned long gc_upcall_timestamp;
};
-#endif /* __KERNEL__ */
#endif /* _LINUX_SUNRPC_AUTH_GSS_H */