Skip to content

Commit

Permalink
uapi: Remove kernel internal declaration
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andreas Gruenbacher authored and J. Bruce Fields committed Apr 21, 2015
1 parent bb7ffbf commit bff1752
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 7 additions & 0 deletions include/linux/nfs4.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
7 changes: 0 additions & 7 deletions include/uapi/linux/nfs4.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,6 @@
*/
#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 */

/*
Expand Down

0 comments on commit bff1752

Please sign in to comment.