summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2007-12-18 19:17:11 +1100
committerDave Airlie <airlied@redhat.com>2007-12-18 19:17:11 +1100
commita19e0efb0e03dbaad68e281b7e018663fb8c3589 (patch)
tree9c87653c7b3d756786bbedc6596b5d30779b780c
parent01f905c1779279811d4f0467da4bdf33ff786c86 (diff)
lockdep warned about a possible locking dependency
-rw-r--r--linux-core/drm_fops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_fops.c b/linux-core/drm_fops.c
index cc09fc14..7efcb23f 100644
--- a/linux-core/drm_fops.c
+++ b/linux-core/drm_fops.c
@@ -472,8 +472,8 @@ int drm_release(struct inode *inode, struct file *filp)
}
mutex_unlock(&dev->ctxlist_mutex);
- mutex_lock(&dev->struct_mutex);
drm_fb_release(filp);
+ mutex_lock(&dev->struct_mutex);
drm_object_release(filp);
if (file_priv->remove_auth_on_close == 1) {
struct drm_file *temp;