mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-11 03:48:00 +00:00
NFS add xprt switch addrs test to match client
Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
parent
fda0ab4117
commit
04ea1b3e6d
@ -313,7 +313,10 @@ static struct nfs_client *nfs_match_client(const struct nfs_client_initdata *dat
|
|||||||
continue;
|
continue;
|
||||||
/* Match the full socket address */
|
/* Match the full socket address */
|
||||||
if (!rpc_cmp_addr_port(sap, clap))
|
if (!rpc_cmp_addr_port(sap, clap))
|
||||||
continue;
|
/* Match all xprt_switch full socket addresses */
|
||||||
|
if (!rpc_clnt_xprt_switch_has_addr(clp->cl_rpcclient,
|
||||||
|
sap))
|
||||||
|
continue;
|
||||||
|
|
||||||
atomic_inc(&clp->cl_count);
|
atomic_inc(&clp->cl_count);
|
||||||
return clp;
|
return clp;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user