Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38399
b: refs/heads/master
c: 6b54dae
h: refs/heads/master
i:
  38397: de6fa3c
  38395: 3cbc8bd
  38391: 45ae195
  38383: 58a1178
  38367: 413cead
  38335: 0a931bb
  38271: 5d9bfea
  38143: 9a2a82d
  37887: 5cb9166
v: v3
  • Loading branch information
NeilBrown authored and Linus Torvalds committed Oct 4, 2006
1 parent 149232e commit b590829
Show file tree
Hide file tree
Showing 2 changed files with 5 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: b66285cee3f9abad26cca6c9b848e1ad6b792d94
refs/heads/master: 6b54dae2b0defb30babb0fe87b13463b9f4b2907
6 changes: 4 additions & 2 deletions trunk/fs/lockd/host.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ nlm_lookup_host(int server, const struct sockaddr_in *sin,
continue;

/* See if we have an NSM handle for this client */
if (!nsm && (nsm = host->h_nsmhandle) != 0)
atomic_inc(&nsm->sm_count);
if (!nsm)
nsm = host->h_nsmhandle;

if (host->h_proto != proto)
continue;
Expand All @@ -120,6 +120,8 @@ nlm_lookup_host(int server, const struct sockaddr_in *sin,
nlm_get_host(host);
goto out;
}
if (nsm)
atomic_inc(&nsm->sm_count);

host = NULL;

Expand Down

0 comments on commit b590829

Please sign in to comment.