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>
This commit is contained in:
Dan Carpenter 2011-01-02 20:20:42 +00:00 committed by Trond Myklebust
parent 878215feb8
commit 51f128ea1c
1 changed files with 0 additions and 1 deletions

View File

@ -532,7 +532,6 @@ static struct nlm_host *next_host_state(struct hlist_head *cache,
host->h_state++;
nlm_get_host(host);
mutex_unlock(&nlm_host_mutex);
goto out;
}
}