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

lockd: Update the NLMv1 void argument decoder 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 a6a63ca5
......@@ -19,6 +19,8 @@
#include <uapi/linux/nfs2.h>
#include "svcxdr.h"
#define NLMDBG_FACILITY NLMDBG_XDR
......@@ -178,8 +180,15 @@ nlm_encode_testres(__be32 *p, struct nlm_res *resp)
/*
* First, the server side XDR functions
* Decode Call arguments
*/
int
nlmsvc_decode_void(struct svc_rqst *rqstp, __be32 *p)
{
return 1;
}
int
nlmsvc_decode_testargs(struct svc_rqst *rqstp, __be32 *p)
{
......@@ -339,12 +348,6 @@ nlmsvc_decode_res(struct svc_rqst *rqstp, __be32 *p)
return xdr_argsize_check(rqstp, p);
}
int
nlmsvc_decode_void(struct svc_rqst *rqstp, __be32 *p)
{
return xdr_argsize_check(rqstp, p);
}
int
nlmsvc_encode_void(struct svc_rqst *rqstp, __be32 *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