From: Chuck Lever Date: Thu, 19 Mar 2009 00:48:14 +0000 (-0400) Subject: NFS: Simplify logic to compare socket addresses in client.c X-Git-Tag: v2.6.30-rc1~415^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c8c45dfab78a1919f6f8a3ea46998c487eb7e12;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed