aboutsummaryrefslogtreecommitdiffstats
path: root/fs/lockd/host.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2011-01-02 15:20:42 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-01-04 13:10:37 -0500
commit51f128ea1c9224c1e3cf6c6a1498431d97699668 (patch)
treeb4e681ff618f5610de0aeede8bbec63cb1b75763 /fs/lockd/host.c
parent878215feb8b2417c4700090b4335739858cf7b5a (diff)
lockd: double unlock in next_host_state()
We unlock again after we goto out. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/lockd/host.c')
-rw-r--r--fs/lockd/host.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/lockd/host.c b/fs/lockd/host.c
index c106d6a93e5d..5f1bcb2f06f3 100644
--- a/fs/lockd/host.c
+++ b/fs/lockd/host.c
@@ -532,7 +532,6 @@ static struct nlm_host *next_host_state(struct hlist_head *cache,
532 host->h_state++; 532 host->h_state++;
533 533
534 nlm_get_host(host); 534 nlm_get_host(host);
535 mutex_unlock(&nlm_host_mutex);
536 goto out; 535 goto out;
537 } 536 }
538 } 537 }