Commit e26ec898 authored by Chuck Lever's avatar Chuck Lever Committed by J. Bruce Fields

lockd: Update the NLMv1 void results encoder to use struct xdr_stream

Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 14e10525
...@@ -331,6 +331,17 @@ nlmsvc_decode_notify(struct svc_rqst *rqstp, __be32 *p) ...@@ -331,6 +331,17 @@ nlmsvc_decode_notify(struct svc_rqst *rqstp, __be32 *p)
return 1; return 1;
} }
/*
* Encode Reply results
*/
int
nlmsvc_encode_void(struct svc_rqst *rqstp, __be32 *p)
{
return 1;
}
int int
nlmsvc_encode_testres(struct svc_rqst *rqstp, __be32 *p) nlmsvc_encode_testres(struct svc_rqst *rqstp, __be32 *p)
{ {
...@@ -363,9 +374,3 @@ nlmsvc_encode_res(struct svc_rqst *rqstp, __be32 *p) ...@@ -363,9 +374,3 @@ nlmsvc_encode_res(struct svc_rqst *rqstp, __be32 *p)
*p++ = resp->status; *p++ = resp->status;
return xdr_ressize_check(rqstp, p); return xdr_ressize_check(rqstp, p);
} }
int
nlmsvc_encode_void(struct svc_rqst *rqstp, __be32 *p)
{
return xdr_ressize_check(rqstp, p);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment