projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cea11c
)
NFSD: NFSv3 PATHCONF Reply is improperly formed
author
Chuck Lever
<chuck.lever@oracle.com>
Fri, 23 Oct 2020 14:41:01 +0000
(10:41 -0400)
committer
J. Bruce Fields
<bfields@redhat.com>
Thu, 5 Nov 2020 22:20:12 +0000
(17:20 -0500)
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>
fs/nfsd/nfs3xdr.c
patch
|
blob
|
history
diff --git
a/fs/nfsd/nfs3xdr.c
b/fs/nfsd/nfs3xdr.c
index
9c23b6a
..
2277f83
100644
(file)
--- 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) {