diff options
author | Andreas Gruenbacher <andreas.gruenbacher@gmail.com> | 2015-03-27 12:50:00 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2015-04-21 16:16:04 -0400 |
commit | bff175238a2416110e2258989c462234baeb5f46 (patch) | |
tree | c2d474db29a8693489cd5e2a62a8f6531351aeb1 | |
parent | bb7ffbf29e76b89a86ca4c3ee0d4690641f2f772 (diff) |
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>
-rw-r--r-- | include/linux/nfs4.h | 7 | ||||
-rw-r--r-- | include/uapi/linux/nfs4.h | 7 |
2 files changed, 7 insertions, 7 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 @@ | |||
16 | #include <linux/uidgid.h> | 16 | #include <linux/uidgid.h> |
17 | #include <uapi/linux/nfs4.h> | 17 | #include <uapi/linux/nfs4.h> |
18 | 18 | ||
19 | enum nfs4_acl_whotype { | ||
20 | NFS4_ACL_WHO_NAMED = 0, | ||
21 | NFS4_ACL_WHO_OWNER, | ||
22 | NFS4_ACL_WHO_GROUP, | ||
23 | NFS4_ACL_WHO_EVERYONE, | ||
24 | }; | ||
25 | |||
19 | struct nfs4_ace { | 26 | struct nfs4_ace { |
20 | uint32_t type; | 27 | uint32_t type; |
21 | uint32_t flag; | 28 | uint32_t flag; |
diff --git a/include/uapi/linux/nfs4.h b/include/uapi/linux/nfs4.h index 35f5f4c6c260..adc0aff83fbb 100644 --- a/include/uapi/linux/nfs4.h +++ b/include/uapi/linux/nfs4.h | |||
@@ -162,13 +162,6 @@ | |||
162 | */ | 162 | */ |
163 | #define NFS4_MAX_BACK_CHANNEL_OPS 2 | 163 | #define NFS4_MAX_BACK_CHANNEL_OPS 2 |
164 | 164 | ||
165 | enum nfs4_acl_whotype { | ||
166 | NFS4_ACL_WHO_NAMED = 0, | ||
167 | NFS4_ACL_WHO_OWNER, | ||
168 | NFS4_ACL_WHO_GROUP, | ||
169 | NFS4_ACL_WHO_EVERYONE, | ||
170 | }; | ||
171 | |||
172 | #endif /* _UAPI_LINUX_NFS4_H */ | 165 | #endif /* _UAPI_LINUX_NFS4_H */ |
173 | 166 | ||
174 | /* | 167 | /* |