aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svc_xprt.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2010-08-26 13:19:52 -0400
committerJ. Bruce Fields <bfields@redhat.com>2010-09-07 20:19:12 -0400
commit6610f720e9e8103c22d1f1ccf8fbb695550a571f (patch)
tree6177d8f5e15ce007f4a3b29c16f31d97f3b58c59 /net/sunrpc/svc_xprt.c
parentf16b6e8d838b2e2bb4561201311c66ac02ad67df (diff)
svcrpc: minor cache cleanup
Pull out some code into helper functions, fix a typo. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/svc_xprt.c')
-rw-r--r--net/sunrpc/svc_xprt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/svc_xprt.c b/net/sunrpc/svc_xprt.c
index 8ff6840866fa..95fc3e8c51d6 100644
--- a/net/sunrpc/svc_xprt.c
+++ b/net/sunrpc/svc_xprt.c
@@ -665,7 +665,7 @@ int svc_recv(struct svc_rqst *rqstp, long timeout)
665 atomic_add(rqstp->rq_reserved, &xprt->xpt_reserved); 665 atomic_add(rqstp->rq_reserved, &xprt->xpt_reserved);
666 666
667 /* As there is a shortage of threads and this request 667 /* As there is a shortage of threads and this request
668 * had to be queue, don't allow the thread to wait so 668 * had to be queued, don't allow the thread to wait so
669 * long for cache updates. 669 * long for cache updates.
670 */ 670 */
671 rqstp->rq_chandle.thread_wait = 1*HZ; 671 rqstp->rq_chandle.thread_wait = 1*HZ;