From: Chuck Lever Date: Mon, 10 Dec 2007 19:57:38 +0000 (-0500) Subject: NFS: Add support for AF_INET6 addresses in nfs_compare_super() X-Git-Tag: v2.6.25-rc1~1146^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd00a8ff8e37815c9df49f5cf09786e441e1396b;p=pandora-kernel.git NFS: Add support for AF_INET6 addresses in nfs_compare_super() Refactor nfs_compare_super() and add AF_INET6 support. Replace the generic memcmp() to document explicitly what parts of the addresses must match in this check, and make the comparison independent of the lengths of both addresses. A side benefit is both tests are more computationally efficient than a memcmp(). Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed