mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 04:47:05 +00:00
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>
This commit is contained in:
parent
1602a7b7d3
commit
66c898caef
1 changed files with 2 additions and 2 deletions
|
@ -361,7 +361,7 @@ static void svc_xprt_release_slot(struct svc_rqst *rqstp)
|
|||
}
|
||||
}
|
||||
|
||||
static bool svc_xprt_has_something_to_do(struct svc_xprt *xprt)
|
||||
static bool svc_xprt_ready(struct svc_xprt *xprt)
|
||||
{
|
||||
unsigned long xpt_flags;
|
||||
|
||||
|
@ -385,7 +385,7 @@ void svc_xprt_do_enqueue(struct svc_xprt *xprt)
|
|||
struct svc_rqst *rqstp = NULL;
|
||||
int cpu;
|
||||
|
||||
if (!svc_xprt_has_something_to_do(xprt))
|
||||
if (!svc_xprt_ready(xprt))
|
||||
return;
|
||||
|
||||
/* Mark transport as busy. It will remain in this state until
|
||||
|
|
Loading…
Reference in a new issue