Commit 51f128ea authored by Dan Carpenter's avatar Dan Carpenter Committed by Trond Myklebust

lockd: double unlock in next_host_state()

We unlock again after we goto out.
Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 878215fe
......@@ -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;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment