diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2015-01-03 14:45:33 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-01-05 22:40:54 -0500 |
commit | 7a01edf0058df98d6cc734c5a4ecc51f929a86ec (patch) | |
tree | dc0235571126acfdf8a4e346d7271653846ba73c /fs | |
parent | 55b9df93ddd684cbc4c2dee9b8a99f6e48348212 (diff) |
NFS: Ignore transport protocol when detecting server trunking
Detect server trunking across transport protocols. Otherwise, an
RDMA mount and a TCP mount of the same server will end up with
separate nfs_clients using the same clientid4.
Reported-by: Dai Ngo <dai.ngo@oracle.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfs/nfs4client.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/nfs/nfs4client.c b/fs/nfs/nfs4client.c index b1024bcc65c8..953daa44a282 100644 --- a/fs/nfs/nfs4client.c +++ b/fs/nfs/nfs4client.c | |||
@@ -492,9 +492,6 @@ int nfs40_walk_client_list(struct nfs_client *new, | |||
492 | if (pos->rpc_ops != new->rpc_ops) | 492 | if (pos->rpc_ops != new->rpc_ops) |
493 | continue; | 493 | continue; |
494 | 494 | ||
495 | if (pos->cl_proto != new->cl_proto) | ||
496 | continue; | ||
497 | |||
498 | if (pos->cl_minorversion != new->cl_minorversion) | 495 | if (pos->cl_minorversion != new->cl_minorversion) |
499 | continue; | 496 | continue; |
500 | 497 | ||
@@ -627,9 +624,6 @@ int nfs41_walk_client_list(struct nfs_client *new, | |||
627 | if (pos->rpc_ops != new->rpc_ops) | 624 | if (pos->rpc_ops != new->rpc_ops) |
628 | continue; | 625 | continue; |
629 | 626 | ||
630 | if (pos->cl_proto != new->cl_proto) | ||
631 | continue; | ||
632 | |||
633 | if (pos->cl_minorversion != new->cl_minorversion) | 627 | if (pos->cl_minorversion != new->cl_minorversion) |
634 | continue; | 628 | continue; |
635 | 629 | ||