NFSv4: fix getacl head length estimation

am: 3f22cc6f5c

Change-Id: I0bac115b6350d346f98ab25e3abf5f51e7928218
This commit is contained in:
J. Bruce Fields
2017-03-12 08:30:53 +00:00
committed by android-build-merger

View File

@@ -2492,7 +2492,7 @@ static void nfs4_xdr_enc_getacl(struct rpc_rqst *req, struct xdr_stream *xdr,
encode_compound_hdr(xdr, req, &hdr);
encode_sequence(xdr, &args->seq_args, &hdr);
encode_putfh(xdr, args->fh, &hdr);
replen = hdr.replen + op_decode_hdr_maxsz + 1;
replen = hdr.replen + op_decode_hdr_maxsz;
encode_getattr_two(xdr, FATTR4_WORD0_ACL, 0, &hdr);
xdr_inline_pages(&req->rq_rcv_buf, replen << 2,