Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232691
b: refs/heads/master
c: 80c30e8
h: refs/heads/master
i:
  232689: 3c344e0
  232687: 6fb5aed
v: v3
  • Loading branch information
Chuck Lever authored and Trond Myklebust committed Jan 25, 2011
1 parent 1a33790 commit d9d53c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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: f61f6da0d53842e849bab7f69e1431bd3de1136d
refs/heads/master: 80c30e8de4f81851b1f712bcc596e11d53bc76f1
9 changes: 5 additions & 4 deletions trunk/fs/lockd/host.c
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ static struct nlm_host *next_host_state(struct hlist_head *cache,
struct nsm_handle *nsm,
const struct nlm_reboot *info)
{
struct nlm_host *host = NULL;
struct nlm_host *host;
struct hlist_head *chain;
struct hlist_node *pos;

Expand All @@ -532,12 +532,13 @@ static struct nlm_host *next_host_state(struct hlist_head *cache,
host->h_state++;

nlm_get_host(host);
goto out;
mutex_unlock(&nlm_host_mutex);
return host;
}
}
out:

mutex_unlock(&nlm_host_mutex);
return host;
return NULL;
}

/**
Expand Down

0 comments on commit d9d53c7

Please sign in to comment.