diff options
Diffstat (limited to 'net/sunrpc/svc.c')
-rw-r--r-- | net/sunrpc/svc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index 952f206ff307..538ca433a56c 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c | |||
@@ -1103,8 +1103,9 @@ svc_process_common(struct svc_rqst *rqstp, struct kvec *argv, struct kvec *resv) | |||
1103 | procp->pc_release(rqstp, NULL, rqstp->rq_resp); | 1103 | procp->pc_release(rqstp, NULL, rqstp->rq_resp); |
1104 | goto dropit; | 1104 | goto dropit; |
1105 | } | 1105 | } |
1106 | if (*statp == rpc_success && (xdr = procp->pc_encode) | 1106 | if (*statp == rpc_success && |
1107 | && !xdr(rqstp, resv->iov_base+resv->iov_len, rqstp->rq_resp)) { | 1107 | (xdr = procp->pc_encode) && |
1108 | !xdr(rqstp, resv->iov_base+resv->iov_len, rqstp->rq_resp)) { | ||
1108 | dprintk("svc: failed to encode reply\n"); | 1109 | dprintk("svc: failed to encode reply\n"); |
1109 | /* serv->sv_stats->rpcsystemerr++; */ | 1110 | /* serv->sv_stats->rpcsystemerr++; */ |
1110 | *statp = rpc_system_err; | 1111 | *statp = rpc_system_err; |