SUNRPC: Micro optimisation for svc_data_ready
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 24 Jun 2016 14:55:49 +0000 (10:55 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 13 Jul 2016 19:53:46 +0000 (15:53 -0400)
commit4720b0703a0dfcd6da6a308ea71aaacc55beade7
treeba3ee87fa167e1678b47efccee59a21f42852395
parentfa9251afc33c81606d70cfe91800a779096442ec
SUNRPC: Micro optimisation for svc_data_ready

Don't call svc_xprt_enqueue() if the XPT_DATA flag is already set.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svcsock.c