diff options
author | Jerome Glisse <jglisse@redhat.com> | 2015-02-16 14:58:21 -0500 |
---|---|---|
committer | Jerome Glisse <jglisse@redhat.com> | 2015-02-16 15:01:30 -0500 |
commit | 7cb1d6e2d6c63e3bc4b275ff073152b550ba5b0f (patch) | |
tree | c55eb3970db34ccb8a599eb3ad456d19b33d72c2 | |
parent | dbc8b11db6f3fcbe2a76487bb0b1930908226a17 (diff) |
nouveau: fix unlock nouveau_bo_name_ref()
Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
-rw-r--r-- | nouveau/nouveau.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nouveau/nouveau.c b/nouveau/nouveau.c index da49e179..c6c153a9 100644 --- a/nouveau/nouveau.c +++ b/nouveau/nouveau.c @@ -486,9 +486,9 @@ nouveau_bo_name_ref(struct nouveau_device *dev, uint32_t name, if (ret == 0) { ret = nouveau_bo_wrap_locked(dev, req.handle, pbo); nouveau_bo((*pbo))->name = name; - pthread_mutex_unlock(&nvdev->lock); } + pthread_mutex_unlock(&nvdev->lock); return ret; } |