diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-09-12 19:55:26 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-20 13:18:13 -0700 |
commit | 60804a1f4821f917c302fb1970674ab058473427 (patch) | |
tree | 91ea8261ac85b3b5cacb15bf8cc9ad1934d093ec | |
parent | 198aa4b040aa00b4c9de5314da2338ff20ab1f73 (diff) | |
download | lwn-60804a1f4821f917c302fb1970674ab058473427.tar.gz lwn-60804a1f4821f917c302fb1970674ab058473427.zip |
NFS: Fix a typo in nfs_sockaddr_match_ipaddr6
commit b20d37ca9561711c6a3c4b859c2855f49565e061 upstream.
Reported-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | fs/nfs/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c index 127ed5cf2866..19cbbf763110 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c @@ -273,7 +273,7 @@ static int nfs_sockaddr_match_ipaddr6(const struct sockaddr *sa1, sin1->sin6_scope_id != sin2->sin6_scope_id) return 0; - return ipv6_addr_equal(&sin1->sin6_addr, &sin1->sin6_addr); + return ipv6_addr_equal(&sin1->sin6_addr, &sin2->sin6_addr); } #else /* !defined(CONFIG_IPV6) && !defined(CONFIG_IPV6_MODULE) */ static int nfs_sockaddr_match_ipaddr6(const struct sockaddr *sa1, |