Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
		}
	}