aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs4.h
diff options
context:
space:
mode:
authorAndreas Gruenbacher <andreas.gruenbacher@gmail.com>2015-03-27 17:50:00 +0100
committerJ. Bruce Fields <bfields@redhat.com>2015-04-21 16:16:04 -0400
commitbff175238a2416110e2258989c462234baeb5f46 (patch)
treec2d474db29a8693489cd5e2a62a8f6531351aeb1 /include/linux/nfs4.h
parentnfsd: fix nsfd startup race triggering BUG_ON (diff)
downloadlinux-dev-bff175238a2416110e2258989c462234baeb5f46.tar.xz
linux-dev-bff175238a2416110e2258989c462234baeb5f46.zip
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>
Diffstat (limited to 'include/linux/nfs4.h')
-rw-r--r--include/linux/nfs4.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/nfs4.h b/include/linux/nfs4.h
index ed43cb74b11d..32201c269890 100644
--- a/include/linux/nfs4.h
+++ b/include/linux/nfs4.h
@@ -16,6 +16,13 @@
#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;