commit | 3c8c45dfab78a1919f6f8a3ea46998c487eb7e12 | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Wed Mar 18 20:48:14 2009 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Sat Mar 28 16:51:04 2009 -0400 |
tree | 532baa9e2ca4a11dcf36bf7542b92e30f8908011 | |
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>