Merge branch 'for-3.16' of git://linux-nfs.org/~bfields/linux
Pull nfsd bugfix from Bruce Fields: "Another xdr encoding regression that may cause incorrect encoding on failures of certain readdirs" * 'for-3.16' of git://linux-nfs.org/~bfields/linux: nfsd: Fix bad reserving space for encoding rdattr_error
This commit is contained in:
commit
bae78dc259
|
@ -2641,7 +2641,7 @@ nfsd4_encode_rdattr_error(struct xdr_stream *xdr, __be32 nfserr)
|
|||
{
|
||||
__be32 *p;
|
||||
|
||||
p = xdr_reserve_space(xdr, 6);
|
||||
p = xdr_reserve_space(xdr, 20);
|
||||
if (!p)
|
||||
return NULL;
|
||||
*p++ = htonl(2);
|
||||
|
|
Loading…
Reference in New Issue