diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2009-03-18 20:48:14 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-03-28 16:51:04 -0400 |
commit | 3c8c45dfab78a1919f6f8a3ea46998c487eb7e12 (patch) | |
tree | 532baa9e2ca4a11dcf36bf7542b92e30f8908011 /net | |
parent | d188262d60e879800d3a0a768ecbb216d6ef0d40 (diff) |
NFS: Simplify logic to compare socket addresses in client.c
Callback requests from IPv4 servers are now always guaranteed to be
AF_INET, and never mapped IPv4 AF_INET6 addresses. Both
nfs_match_client() and nfs_find_client() can now share the same
address comparison logic, so fold them together.
We can also dispense with of most of the conditional compilation
in here.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions