Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79614
b: refs/heads/master
c: d45273e
h: refs/heads/master
v: v3
  • Loading branch information
Chuck Lever authored and Trond Myklebust committed Jan 30, 2008
1 parent 0db199c commit b07768d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6a0ed1de8ecee0cde21ea667891a03f6c84ecd66
refs/heads/master: d45273ed6f4613e81701c3e896d9db200c288fff
3 changes: 1 addition & 2 deletions trunk/fs/nfs/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,7 @@ static struct nfs_client *__nfs_find_client(const struct sockaddr_in *addr, int
if (clp->cl_nfsversion != nfsversion)
continue;

if (memcmp(&clp->cl_addr.sin_addr, &addr->sin_addr,
sizeof(clp->cl_addr.sin_addr)) != 0)
if (clp->cl_addr.sin_addr.s_addr != addr->sin_addr.s_addr)
continue;

if (!match_port || clp->cl_addr.sin_port == addr->sin_port)
Expand Down

0 comments on commit b07768d

Please sign in to comment.