drm: masters are always authenticated
authorDave Airlie <airlied@redhat.com>
Mon, 12 May 2008 06:28:58 +0000 (16:28 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 12 May 2008 06:28:58 +0000 (16:28 +1000)
linux-core/drm_fops.c

index a9f39ac..03881ee 100644 (file)
@@ -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);