File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 18
18
#include <linux/sunrpc/stats.h>
19
19
#include <linux/lockd/lockd.h>
20
20
21
+ #include "svcxdr.h"
22
+
21
23
#define NLMDBG_FACILITY NLMDBG_XDR
22
24
23
25
static inline loff_t
@@ -175,8 +177,15 @@ nlm4_encode_testres(__be32 *p, struct nlm_res *resp)
175
177
176
178
177
179
/*
178
- * First, the server side XDR functions
180
+ * Decode Call arguments
179
181
*/
182
+
183
+ int
184
+ nlm4svc_decode_void (struct svc_rqst * rqstp , __be32 * p )
185
+ {
186
+ return 1 ;
187
+ }
188
+
180
189
int
181
190
nlm4svc_decode_testargs (struct svc_rqst * rqstp , __be32 * p )
182
191
{
@@ -336,12 +345,6 @@ nlm4svc_decode_res(struct svc_rqst *rqstp, __be32 *p)
336
345
return xdr_argsize_check (rqstp , p );
337
346
}
338
347
339
- int
340
- nlm4svc_decode_void (struct svc_rqst * rqstp , __be32 * p )
341
- {
342
- return xdr_argsize_check (rqstp , p );
343
- }
344
-
345
348
int
346
349
nlm4svc_encode_void (struct svc_rqst * rqstp , __be32 * p )
347
350
{
You can’t perform that action at this time.
0 commit comments