Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 82499
b: refs/heads/master
c: d801b86
h: refs/heads/master
i:
  82497: b70c7b1
  82495: 33e76de
v: v3
  • Loading branch information
Jeff Layton authored and J. Bruce Fields committed Feb 1, 2008
1 parent fba9c03 commit 5bc1651
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 0113ab34644649aceaac37ef4b7e5c7d5c183be3
refs/heads/master: d801b861681116ea23a7fb87a70bf463d29c8b9c
7 changes: 6 additions & 1 deletion trunk/fs/lockd/host.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,13 @@ nlm_shutdown_hosts(void)
/* First, make all hosts eligible for gc */
dprintk("lockd: nuking all hosts...\n");
for (chain = nlm_hosts; chain < nlm_hosts + NLM_HOST_NRHASH; ++chain) {
hlist_for_each_entry(host, pos, chain, h_hash)
hlist_for_each_entry(host, pos, chain, h_hash) {
host->h_expires = jiffies - 1;
if (host->h_rpcclnt) {
rpc_shutdown_client(host->h_rpcclnt);
host->h_rpcclnt = NULL;
}
}
}

/* Then, perform a garbage collection pass */
Expand Down

0 comments on commit 5bc1651

Please sign in to comment.