diff options
author | J. Bruce Fields <bfields@redhat.com> | 2014-01-08 18:49:01 +0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-01-08 21:18:53 +0400 |
commit | 3554116d3aae25353713f3d0131d86ae6c1e5674 (patch) | |
tree | faa8c12948e667b34fa3b116f744ef14a034e394 /fs/nfsd/acl.h | |
parent | 87915c6472acbc5d7c809f3c9753808797da51a8 (diff) | |
download | linux-3554116d3aae25353713f3d0131d86ae6c1e5674.tar.xz |
nfsd4: simplify xdr encoding of nfsv4 names
We can simplify the idmapping code if it does its own encoding and
returns nfs errors.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/acl.h')
-rw-r--r-- | fs/nfsd/acl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/acl.h b/fs/nfsd/acl.h index 8b186a4955cc..afd3e0eae642 100644 --- a/fs/nfsd/acl.h +++ b/fs/nfsd/acl.h @@ -43,7 +43,7 @@ struct nfs4_acl *nfs4_acl_new(int); int nfs4_acl_get_whotype(char *, u32); -int nfs4_acl_write_who(int who, char *p); +__be32 nfs4_acl_write_who(int who, __be32 **p, int *len); #define NFS4_ACL_TYPE_DEFAULT 0x01 #define NFS4_ACL_DIR 0x02 |