Add a code comment.

main
Thomas Hellstrom 2007-04-17 08:46:45 +02:00
parent e6e4946c82
commit e91ceff6c9
1 changed files with 7 additions and 0 deletions

View File

@ -1715,6 +1715,13 @@ int drm_bo_ioctl(DRM_IOCTL_ARGS)
drm_buffer_type, &uo);
if (rep.ret)
break;
/*
* Note: The following code is only to
* fill in the rep argument. drm_lookup_user_object ups the
* refcount which is decreased again when we're done with the bo.
*/
mutex_lock(&dev->struct_mutex);
uo = drm_lookup_user_object(priv, req->handle);
entry =