summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/acl.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2014-06-24 23:51:21 +0200
committerJ. Bruce Fields <bfields@redhat.com>2014-07-08 23:14:27 +0200
commitbcaab953b1d3790c724a211f2452b574fd49a7ce (patch)
tree27ca81379f29efdf4267337da9434a3eeabdae31 /fs/nfsd/acl.h
parentnfsd4: define svcxdr_dupstr to share some common code (diff)
downloadlinux-bcaab953b1d3790c724a211f2452b574fd49a7ce.tar.xz
linux-bcaab953b1d3790c724a211f2452b574fd49a7ce.zip
nfsd4: remove nfs4_acl_new
This is a not-that-useful kmalloc wrapper. And I'd like one of the callers to actually use something other than kmalloc. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/acl.h')
-rw-r--r--fs/nfsd/acl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/acl.h b/fs/nfsd/acl.h
index a986ceb6fd0d..4cd7c69a6cb9 100644
--- a/fs/nfsd/acl.h
+++ b/fs/nfsd/acl.h
@@ -47,7 +47,7 @@ struct svc_rqst;
#define NFS4_ACL_MAX ((PAGE_SIZE - sizeof(struct nfs4_acl)) \
/ sizeof(struct nfs4_ace))
-struct nfs4_acl *nfs4_acl_new(int);
+int nfs4_acl_bytes(int entries);
int nfs4_acl_get_whotype(char *, u32);
__be32 nfs4_acl_write_who(struct xdr_stream *xdr, int who);