diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-10-15 09:36:25 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-10-19 11:00:35 +0200 |
commit | ef4c6270bf2867e2f8032e9614d1a8cfc6c71663 (patch) | |
tree | 39488f8a6541fd98e06daccfc3a9b58f0087d44c /block | |
parent | 4e270f088011c6954034d6c4b5453e5cd7e02c7a (diff) | |
download | op-kernel-dev-ef4c6270bf2867e2f8032e9614d1a8cfc6c71663.zip op-kernel-dev-ef4c6270bf2867e2f8032e9614d1a8cfc6c71663.tar.gz |
drm/gem: Check locking in drm_gem_object_unreference
Pretty soon only some drivers will need dev->struct_mutex in their
gem_free_object callbacks. Hence it's really important to make sure
everything still keeps getting this right.
v2: Don't check for locking before we check for non-NULL obj. Spotted
by Dan Carpenter.
Link: http://mid.gmane.org/1444894601-5200-10-git-send-email-daniel.vetter@ffwll.ch
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions