summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-05-12 16:28:58 +1000
committerDave Airlie <airlied@redhat.com>2008-05-12 16:28:58 +1000
commit1eedeed09192738334570e13acab381441f3d817 (patch)
tree89a8ffa424e486bb474aab419bb23a5d1b044b21 /linux-core
parent8f7fc880e8bbe9e59521df707f2ddd3e80e06e6f (diff)
drm: masters are always authenticated
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_fops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/drm_fops.c b/linux-core/drm_fops.c
index a9f39ac5..03881ee6 100644
--- a/linux-core/drm_fops.c
+++ b/linux-core/drm_fops.c
@@ -281,6 +281,7 @@ static int drm_open_helper(struct inode *inode, struct file *filp,
priv->is_master = 1;
priv->master = priv->minor->master;
+ priv->authenticated = 1;
mutex_unlock(&dev->struct_mutex);
if (dev->driver->master_create) {
ret = dev->driver->master_create(dev, priv->master);