Don't include private headers from user-visible parts of include/linux/nfs*.h
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
@ -14,7 +14,6 @@
|
||||
#define _LINUX_NFS4_H
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <linux/list.h>
|
||||
|
||||
#define NFS4_VERIFIER_SIZE 8
|
||||
#define NFS4_FHSIZE 128
|
||||
@ -97,6 +96,9 @@ enum nfs4_acl_whotype {
|
||||
NFS4_ACL_WHO_EVERYONE,
|
||||
};
|
||||
|
||||
#ifdef __KERNEL__
|
||||
#include <linux/list.h>
|
||||
|
||||
struct nfs4_ace {
|
||||
uint32_t type;
|
||||
uint32_t flag;
|
||||
@ -345,8 +347,6 @@ enum lock_type4 {
|
||||
#define NFS4_MINOR_VERSION 0
|
||||
#define NFS4_DEBUG 1
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
/* Index of predefined Linux client operations */
|
||||
|
||||
enum {
|
||||
|
Reference in New Issue
Block a user