remove nfs4_acl_add_ace()

nfs4_acl_add_ace() can now be removed.

Signed-off-by: Adrian Bunk <[email protected]>
Acked-by: Neil Brown <[email protected]>
Acked-by: J. Bruce Fields <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Adrian Bunk 2007-05-09 02:34:46 -07:00 • committed by Linus Torvalds
commit 8842c9655b
2 changed files with 0 additions and 18 deletions

View file

@ -137,7 +137,6 @@ struct ace_container {
static short ace2type(struct nfs4_ace *);
static void _posix_to_nfsv4_one(struct posix_acl *, struct nfs4_acl *,
unsigned int);
void nfs4_acl_add_ace(struct nfs4_acl *, u32, u32, u32, int, uid_t);
struct nfs4_acl *
nfs4_acl_posix_to_nfsv4(struct posix_acl *pacl, struct posix_acl *dpacl,
@ -785,21 +784,6 @@ nfs4_acl_new(int n)
return acl;
}
void
nfs4_acl_add_ace(struct nfs4_acl *acl, u32 type, u32 flag, u32 access_mask,
int whotype, uid_t who)
{
struct nfs4_ace *ace = acl->aces + acl->naces;
ace->type = type;
ace->flag = flag;
ace->access_mask = access_mask;
ace->whotype = whotype;
ace->who = who;
acl->naces++;
}
static struct {
char *string;
int stringlen;
@ -851,6 +835,5 @@ nfs4_acl_write_who(int who, char *p)
}
EXPORT_SYMBOL(nfs4_acl_new);
EXPORT_SYMBOL(nfs4_acl_add_ace);
EXPORT_SYMBOL(nfs4_acl_get_whotype);
EXPORT_SYMBOL(nfs4_acl_write_who);