SUNRPC: Skip zero-refcount transports
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 16 Jul 2019 11:07:28 +0000 (07:07 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 16 Jul 2019 11:11:58 +0000 (07:11 -0400)
commit163f88211c147d96b46e376337190a02203ace02
tree9107d5e3ee54856a3aebaee644e46a31c9b19a6d
parent3cf7292280d5e484747a5f0ee4b62327b037344c
SUNRPC: Skip zero-refcount transports

When looking for the next transport to use for an RPC call, skip those
that are in the process of being destroyed and that have a zero refcount.

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