SUNRPC: Check whether the task was transmitted before rebind/reconnect
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 10 Mar 2019 15:17:13 +0000 (11:17 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 10 Mar 2019 15:55:58 +0000 (11:55 -0400)
commit03e51d32da995030a16697038232171807eeb0f2
treed45f35c871b59a6dd973a75925736ecf205aacca
parent6b5f590016870a989a94d61c984e3bfc7a37bfe7
SUNRPC: Check whether the task was transmitted before rebind/reconnect

Before initiating transport actions that require putting the task to sleep,
such as rebinding or reconnecting, we should check whether or not the task
was already transmitted.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/clnt.c