summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svc_xprt.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2010-08-26 19:19:52 +0200
committerJ. Bruce Fields <bfields@redhat.com>2010-09-08 02:19:12 +0200
commit6610f720e9e8103c22d1f1ccf8fbb695550a571f (patch)
tree6177d8f5e15ce007f4a3b29c16f31d97f3b58c59 /net/sunrpc/svc_xprt.c
parentsunrpc/cache: allow threads to block while waiting for cache update. (diff)
downloadlinux-6610f720e9e8103c22d1f1ccf8fbb695550a571f.tar.xz
linux-6610f720e9e8103c22d1f1ccf8fbb695550a571f.zip
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)
atomic_add(rqstp->rq_reserved, &xprt->xpt_reserved);
/* As there is a shortage of threads and this request
- * had to be queue, don't allow the thread to wait so
+ * had to be queued, don't allow the thread to wait so
* long for cache updates.
*/
rqstp->rq_chandle.thread_wait = 1*HZ;