diff options
author | Dan Carpenter <error27@gmail.com> | 2011-01-02 21:20:42 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-01-04 19:10:37 +0100 |
commit | 51f128ea1c9224c1e3cf6c6a1498431d97699668 (patch) | |
tree | b4e681ff618f5610de0aeede8bbec63cb1b75763 /fs/lockd | |
parent | NFS: Don't leak in nfs_proc_symlink() (diff) | |
download | linux-51f128ea1c9224c1e3cf6c6a1498431d97699668.tar.xz linux-51f128ea1c9224c1e3cf6c6a1498431d97699668.zip |
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>
Diffstat (limited to 'fs/lockd')
-rw-r--r-- | fs/lockd/host.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/lockd/host.c b/fs/lockd/host.c index c106d6a93e5d..5f1bcb2f06f3 100644 --- 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; } } |