diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-07-03 10:31:46 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2007-07-03 10:31:46 -0400 |
commit | 1814a829eb65ee53a14fa9b53fc6f3a4196dcaa5 (patch) | |
tree | a8bd89857cdbbe9e850050e0661558d3b79bc80b /linux-core | |
parent | 91990946fa3f7e8e725af18d1f3a63e0c7892308 (diff) |
Don't take dev->struct_mutex twice in drm_setsareactx.
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/drm_context.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/linux-core/drm_context.c b/linux-core/drm_context.c index 101a298c..ff08e809 100644 --- a/linux-core/drm_context.c +++ b/linux-core/drm_context.c @@ -245,8 +245,6 @@ int drm_setsareactx(struct inode *inode, struct file *filp, if (!map) goto bad; - mutex_lock(&dev->struct_mutex); - ctx_sarea = idr_find(&dev->ctx_idr, request.ctx_id); if (!ctx_sarea) goto bad; |