SUNRPC: Merge svc_do_enqueue_xprt() into svc_enqueue_xprt()
authorChuck Lever <chuck.lever@oracle.com>
Tue, 25 Jan 2022 22:57:23 +0000 (17:57 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 28 Feb 2022 15:26:39 +0000 (10:26 -0500)
commitc0219c499799c1e92bd570c15a47e6257a27bb15
tree6c07c77a5615aea5a04a947001810e152838e12d
parenta9ff2e99e9fa501ec965da03c18a5422b37a2f44
SUNRPC: Merge svc_do_enqueue_xprt() into svc_enqueue_xprt()

Neil says:
"These functions were separated in commit 0971374e2818 ("SUNRPC:
Reduce contention in svc_xprt_enqueue()") so that the XPT_BUSY check
happened before taking any spinlocks.

We have since moved or removed the spinlocks so the extra test is
fairly pointless."

I've made this a separate patch in case the XPT_BUSY change has
unexpected consequences and needs to be reverted.

Suggested-by: Neil Brown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/svc_xprt.c