summaryrefslogtreecommitdiffstats
path: root/kernel/fs/nfs/nfs3xdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/nfs/nfs3xdr.c')
-rw-r--r--kernel/fs/nfs/nfs3xdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fs/nfs/nfs3xdr.c b/kernel/fs/nfs/nfs3xdr.c
index 53852a4bd..9b04c2e6f 100644
--- a/kernel/fs/nfs/nfs3xdr.c
+++ b/kernel/fs/nfs/nfs3xdr.c
@@ -1342,7 +1342,7 @@ static void nfs3_xdr_enc_setacl3args(struct rpc_rqst *req,
if (args->npages != 0)
xdr_write_pages(xdr, args->pages, 0, args->len);
else
- xdr_reserve_space(xdr, NFS_ACL_INLINE_BUFSIZE);
+ xdr_reserve_space(xdr, args->len);
error = nfsacl_encode(xdr->buf, base, args->inode,
(args->mask & NFS_ACL) ?