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>
This commit is contained in:

committed by
J. Bruce Fields

parent
581ae686f2
commit
d05a020196
@@ -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 */
|
||||
|
||||
|
Reference in New Issue
Block a user