NFSD: NFSv3 PATHCONF Reply is improperly formed
[sfrench/cifs-2.6.git] / fs / nfsd / nfs3xdr.c
index 9c23b6acf234de2a33642c351590ccfe60841a27..2277f83da25012a54acafc93248351ebfc225b53 100644 (file)
@@ -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) {