Home
last modified time | relevance | path

Searched hist:fd00a8ff8e37815c9df49f5cf09786e441e1396b (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/nfs/
H A Dsuper.cdiff fd00a8ff8e37815c9df49f5cf09786e441e1396b Mon Dec 10 13:57:38 CST 2007 Chuck Lever <chuck.lever@oracle.com> 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>