summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs2xdr.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2007-12-10 14:57:38 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-01-30 02:05:53 -0500
commitfd00a8ff8e37815c9df49f5cf09786e441e1396b (patch)
treeb6e4caf750834591c0991f9aa55b26f1f02b530d /fs/nfs/nfs2xdr.c
parent3f43c6667acb4e02962b2829a4d4ebb6b6e6f70e (diff)
downloadtalos-obmc-linux-fd00a8ff8e37815c9df49f5cf09786e441e1396b.tar.gz
talos-obmc-linux-fd00a8ff8e37815c9df49f5cf09786e441e1396b.zip
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 <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs2xdr.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud