SUNRPC: Clean up scheduling of autoclose
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 26 Jul 2021 11:59:24 +0000 (07:59 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 9 Aug 2021 20:57:05 +0000 (16:57 -0400)
commite26d9972720e2484f44cdd94ca4e31cc372ed2ed
treef40a3efb4bc1982776cfb6db085d75418a58e120
parentc2dc3e5fad13aca5d7bdf4bcb52b1a1d707c8555
SUNRPC: Clean up scheduling of autoclose

Consolidate duplicated code in xprt_force_disconnect() and
xprt_conditional_disconnect().

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprt.c