aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svc_xprt.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2019-01-11 15:57:09 -0500
committerJ. Bruce Fields <bfields@redhat.com>2019-02-06 15:37:14 -0500
commit66c898caefd346a88fbef242eb7892fd959308f6 (patch)
tree6ed86f639b0486dcbb2c8d6f0f969f92a6ff4958 /net/sunrpc/svc_xprt.c
parent1602a7b7d33741d0490682e620bb29e96ad684d7 (diff)
svcrpc: svc_xprt_has_something_to_do seems a little long
The long name seemed cute till I wanted to refer to it somewhere else. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/svc_xprt.c')
-rw-r--r--net/sunrpc/svc_xprt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/svc_xprt.c b/net/sunrpc/svc_xprt.c
index c3af1aaef551..a2435d3811a9 100644
--- a/net/sunrpc/svc_xprt.c
+++ b/net/sunrpc/svc_xprt.c
@@ -361,7 +361,7 @@ static void svc_xprt_release_slot(struct svc_rqst *rqstp)
361 } 361 }
362} 362}
363 363
364static bool svc_xprt_has_something_to_do(struct svc_xprt *xprt) 364static bool svc_xprt_ready(struct svc_xprt *xprt)
365{ 365{
366 unsigned long xpt_flags; 366 unsigned long xpt_flags;
367 367
@@ -385,7 +385,7 @@ void svc_xprt_do_enqueue(struct svc_xprt *xprt)
385 struct svc_rqst *rqstp = NULL; 385 struct svc_rqst *rqstp = NULL;
386 int cpu; 386 int cpu;
387 387
388 if (!svc_xprt_has_something_to_do(xprt)) 388 if (!svc_xprt_ready(xprt))
389 return; 389 return;
390 390
391 /* Mark transport as busy. It will remain in this state until 391 /* Mark transport as busy. It will remain in this state until