diff options
Diffstat (limited to 'linux/drm_fops.h')
-rw-r--r-- | linux/drm_fops.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drm_fops.h b/linux/drm_fops.h index 10d1aed1..833409f0 100644 --- a/linux/drm_fops.h +++ b/linux/drm_fops.h @@ -57,6 +57,7 @@ int DRM(open_helper)(struct inode *inode, struct file *filp, drm_device_t *dev) priv->dev = dev; priv->ioctl_count = 0; priv->authenticated = capable(CAP_SYS_ADMIN); + priv->lock_count = 0; down(&dev->struct_sem); if (!dev->file_last) { |