summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/acl.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2014-06-24 17:51:21 -0400
committerJ. Bruce Fields <bfields@redhat.com>2014-07-08 17:14:27 -0400
commitbcaab953b1d3790c724a211f2452b574fd49a7ce (patch)
tree27ca81379f29efdf4267337da9434a3eeabdae31 /fs/nfsd/acl.h
parent29c353b3fe54789706c0a37560ce4548a6362c2c (diff)
downloadop-kernel-dev-bcaab953b1d3790c724a211f2452b574fd49a7ce.zip
op-kernel-dev-bcaab953b1d3790c724a211f2452b574fd49a7ce.tar.gz
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 a986ceb..4cd7c69 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);
OpenPOWER on IntegriCloud