Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 229196
b: refs/heads/master
c: fcc072c
h: refs/heads/master
v: v3
  • Loading branch information
Chuck Lever authored and Trond Myklebust committed Dec 16, 2010
1 parent f46397c commit 4f6bbdb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: d2df0484bb38f2e0d9754b00597d4a6d1cf666d0
refs/heads/master: fcc072c783491ca465e4d1e74da7dbb48dbf7a31
6 changes: 3 additions & 3 deletions trunk/fs/lockd/host.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ static struct hlist_head nlm_client_hosts[NLM_HOST_NRHASH];
(chain), h_hash)

static unsigned long next_gc;
static int nrhosts;
static unsigned long nrhosts;
static DEFINE_MUTEX(nlm_host_mutex);

static void nlm_gc_hosts(void);
Expand Down Expand Up @@ -673,9 +673,9 @@ nlm_shutdown_hosts(void)
mutex_unlock(&nlm_host_mutex);

/* complain if any hosts are left */
if (nrhosts) {
if (nrhosts != 0) {
printk(KERN_WARNING "lockd: couldn't shutdown host module!\n");
dprintk("lockd: %d hosts left:\n", nrhosts);
dprintk("lockd: %lu hosts left:\n", nrhosts);
for_each_host(host, pos, chain, nlm_server_hosts) {
dprintk(" %s (cnt %d use %d exp %ld)\n",
host->h_name, atomic_read(&host->h_count),
Expand Down

0 comments on commit 4f6bbdb

Please sign in to comment.