We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14e1052 commit e26ec89Copy full SHA for e26ec89
fs/lockd/xdr.c
@@ -331,6 +331,17 @@ nlmsvc_decode_notify(struct svc_rqst *rqstp, __be32 *p)
331
return 1;
332
}
333
334
+
335
+/*
336
+ * Encode Reply results
337
+ */
338
339
+int
340
+nlmsvc_encode_void(struct svc_rqst *rqstp, __be32 *p)
341
+{
342
+ return 1;
343
+}
344
345
int
346
nlmsvc_encode_testres(struct svc_rqst *rqstp, __be32 *p)
347
{
@@ -363,9 +374,3 @@ nlmsvc_encode_res(struct svc_rqst *rqstp, __be32 *p)
363
374
*p++ = resp->status;
364
375
return xdr_ressize_check(rqstp, p);
365
376
366
-
367
-int
368
-nlmsvc_encode_void(struct svc_rqst *rqstp, __be32 *p)
369
-{
370
- return xdr_ressize_check(rqstp, p);
371
-}
0 commit comments