uapi: Remove kernel internal declaration
authorAndreas Gruenbacher <andreas.gruenbacher@gmail.com>
Fri, 27 Mar 2015 16:50:00 +0000 (17:50 +0100)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 21 Apr 2015 20:16:04 +0000 (16:16 -0400)
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>
include/linux/nfs4.h
include/uapi/linux/nfs4.h

index ed43cb74b11d75d27c9008c3a49a6a3aa68fb353..32201c269890433817f1fac83026d95fa760b996 100644 (file)
 #include <linux/uidgid.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 {
        uint32_t        type;
        uint32_t        flag;
index 35f5f4c6c260df7ed2ee74b845522a485ed5394e..adc0aff83fbbc266cdb3896e774749e48c62995c 100644 (file)
  */
 #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 */
 
 /*