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:
Родитель
878215feb8
Коммит
51f128ea1c
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче