mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
NFSv4: fix getacl head length estimation
am: 3f22cc6f5c
Change-Id: I0bac115b6350d346f98ab25e3abf5f51e7928218
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user