NFS: Simplify logic to compare socket addresses in client.c
authorChuck Lever <chuck.lever@oracle.com>
Thu, 19 Mar 2009 00:48:14 +0000 (20:48 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 28 Mar 2009 20:51:04 +0000 (16:51 -0400)
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>

No differences found