uapi: Remove kernel internal declaration

The enum nfs4_acl_whotype is only used in nfs4d's internal nfs4 acl
representation. No longer expose it to user space.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
Andreas Gruenbacher 2015-03-27 17:50:00 +01:00 committed by J. Bruce Fields
parent bb7ffbf29e
commit bff175238a
2 changed files with 7 additions and 7 deletions

View File

@ -16,6 +16,13 @@
#include <linux/uidgid.h> #include <linux/uidgid.h>
#include <uapi/linux/nfs4.h> #include <uapi/linux/nfs4.h>
enum nfs4_acl_whotype {
NFS4_ACL_WHO_NAMED = 0,
NFS4_ACL_WHO_OWNER,
NFS4_ACL_WHO_GROUP,
NFS4_ACL_WHO_EVERYONE,
};
struct nfs4_ace { struct nfs4_ace {
uint32_t type; uint32_t type;
uint32_t flag; uint32_t flag;

View File

@ -162,13 +162,6 @@
*/ */
#define NFS4_MAX_BACK_CHANNEL_OPS 2 #define NFS4_MAX_BACK_CHANNEL_OPS 2
enum nfs4_acl_whotype {
NFS4_ACL_WHO_NAMED = 0,
NFS4_ACL_WHO_OWNER,
NFS4_ACL_WHO_GROUP,
NFS4_ACL_WHO_EVERYONE,
};
#endif /* _UAPI_LINUX_NFS4_H */ #endif /* _UAPI_LINUX_NFS4_H */
/* /*