projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
878215f
)
lockd: double unlock in next_host_state()
author
Dan Carpenter
<error27@gmail.com>
Sun, 2 Jan 2011 20:20:42 +0000
(20:20 +0000)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 4 Jan 2011 18:10:37 +0000
(13:10 -0500)
We unlock again after we goto out.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/lockd/host.c
patch
|
blob
|
history
diff --git
a/fs/lockd/host.c
b/fs/lockd/host.c
index c106d6a93e5df3573db58321f9d3f6adabe32fd1..5f1bcb2f06f3e89878bed401d1ad2a23f2e0070f 100644
(file)
--- 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,
host->h_state++;
nlm_get_host(host);
- mutex_unlock(&nlm_host_mutex);
goto out;
}
}