diff options
author | Dave Airlie <airlied@linux.ie> | 2007-04-17 18:18:42 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-04-17 18:18:42 +1000 |
commit | 1a5e647f63f083788a7fe43c2367d2e022c48588 (patch) | |
tree | d8e1f98ae882df4337616e077cd03c91095a0d19 /linux-core | |
parent | 56ef1ab8acc0c68b66c4f781107b605f9dd79657 (diff) |
I don't think this dec is necessary and my stuff all works without ..
with it everything falls over
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/drm_bo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-core/drm_bo.c b/linux-core/drm_bo.c index 343cc1ef..d6dce10a 100644 --- a/linux-core/drm_bo.c +++ b/linux-core/drm_bo.c @@ -1740,7 +1740,8 @@ int drm_bo_ioctl(DRM_IOCTL_ARGS) entry = drm_user_object_entry(uo, drm_buffer_object_t, base); - atomic_dec(&entry->usage); + /* I don't think this is needed - D.A. */ + // atomic_dec(&entry->usage); mutex_unlock(&dev->struct_mutex); mutex_lock(&entry->mutex); drm_bo_fill_rep_arg(entry, &rep); |