git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/ttm: fix refcounting in ttm global code.
[safe/jmp/linux-2.6]
/
drivers
/
gpu
/
drm
/
ttm
/
ttm_global.c
diff --git
a/drivers/gpu/drm/ttm/ttm_global.c
b/drivers/gpu/drm/ttm/ttm_global.c
index
541744d
..
b170071
100644
(file)
--- a/
drivers/gpu/drm/ttm/ttm_global.c
+++ b/
drivers/gpu/drm/ttm/ttm_global.c
@@
-82,8
+82,8
@@
int ttm_global_item_ref(struct ttm_global_reference *ref)
if (unlikely(ret != 0))
goto out_err;
- ++item->refcount;
}
+ ++item->refcount;
ref->object = item->object;
object = item->object;
mutex_unlock(&item->mutex);