diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2020-10-23 10:41:01 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2020-11-05 17:20:12 -0500 |
commit | 1905cac9d621a10358bc2750f8b25b64df439a21 (patch) | |
tree | 4beda569f31119dee94e7a01054f829fa5f63179 /fs/nfsd/nfs3xdr.c | |
parent | 3cea11cd5e3b00d91caf0b4730194039b45c5891 (diff) | |
download | lwn-1905cac9d621a10358bc2750f8b25b64df439a21.tar.gz lwn-1905cac9d621a10358bc2750f8b25b64df439a21.zip |
NFSD: NFSv3 PATHCONF Reply is improperly formed
Commit cc028a10a48c ("NFSD: Hoist status code encoding into XDR
encoder functions") missed a spot.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs3xdr.c')
-rw-r--r-- | fs/nfsd/nfs3xdr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/nfs3xdr.c b/fs/nfsd/nfs3xdr.c index 9c23b6acf234..2277f83da250 100644 --- a/fs/nfsd/nfs3xdr.c +++ b/fs/nfsd/nfs3xdr.c @@ -1114,6 +1114,7 @@ nfs3svc_encode_pathconfres(struct svc_rqst *rqstp, __be32 *p) { struct nfsd3_pathconfres *resp = rqstp->rq_resp; + *p++ = resp->status; *p++ = xdr_zero; /* no post_op_attr */ if (resp->status == 0) { |