projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fda0ab4
)
NFS add xprt switch addrs test to match client
author
Andy Adamson
<andros@netapp.com>
Fri, 9 Sep 2016 13:22:27 +0000
(09:22 -0400)
committer
Anna Schumaker
<Anna.Schumaker@Netapp.com>
Mon, 19 Sep 2016 17:08:36 +0000
(13:08 -0400)
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/client.c
patch
|
blob
|
history
diff --git
a/fs/nfs/client.c
b/fs/nfs/client.c
index 0c1b3a002dc257fe6bc4d81086df07ee10b66559..535c2563b7010f0b17e5a03fc2efb024ea518d3c 100644
(file)
--- a/
fs/nfs/client.c
+++ b/
fs/nfs/client.c
@@
-313,7
+313,10
@@
static struct nfs_client *nfs_match_client(const struct nfs_client_initdata *dat
continue;
/* Match the full socket address */
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);
return clp;