git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
drivers
/
char
/
drm
/
i915_ioc32.c
diff --git
a/drivers/char/drm/i915_ioc32.c
b/drivers/char/drm/i915_ioc32.c
index
296248c
..
1fe68a2
100644
(file)
--- a/
drivers/char/drm/i915_ioc32.c
+++ b/
drivers/char/drm/i915_ioc32.c
@@
-66,7
+66,7
@@
static int compat_i915_batchbuffer(struct file *file, unsigned int cmd,
&batchbuffer->cliprects))
return -EFAULT;
&batchbuffer->cliprects))
return -EFAULT;
- return drm_ioctl(file->f_dentry->d_inode, file,
+ return drm_ioctl(file->f_
path.
dentry->d_inode, file,
DRM_IOCTL_I915_BATCHBUFFER,
(unsigned long)batchbuffer);
}
DRM_IOCTL_I915_BATCHBUFFER,
(unsigned long)batchbuffer);
}
@@
-102,7
+102,7
@@
static int compat_i915_cmdbuffer(struct file *file, unsigned int cmd,
&cmdbuffer->cliprects))
return -EFAULT;
&cmdbuffer->cliprects))
return -EFAULT;
- return drm_ioctl(file->f_dentry->d_inode, file,
+ return drm_ioctl(file->f_
path.
dentry->d_inode, file,
DRM_IOCTL_I915_CMDBUFFER, (unsigned long)cmdbuffer);
}
DRM_IOCTL_I915_CMDBUFFER, (unsigned long)cmdbuffer);
}
@@
-125,7
+125,7
@@
static int compat_i915_irq_emit(struct file *file, unsigned int cmd,
&request->irq_seq))
return -EFAULT;
&request->irq_seq))
return -EFAULT;
- return drm_ioctl(file->f_dentry->d_inode, file,
+ return drm_ioctl(file->f_
path.
dentry->d_inode, file,
DRM_IOCTL_I915_IRQ_EMIT, (unsigned long)request);
}
typedef struct drm_i915_getparam32 {
DRM_IOCTL_I915_IRQ_EMIT, (unsigned long)request);
}
typedef struct drm_i915_getparam32 {
@@
-149,7
+149,7
@@
static int compat_i915_getparam(struct file *file, unsigned int cmd,
&request->value))
return -EFAULT;
&request->value))
return -EFAULT;
- return drm_ioctl(file->f_dentry->d_inode, file,
+ return drm_ioctl(file->f_
path.
dentry->d_inode, file,
DRM_IOCTL_I915_GETPARAM, (unsigned long)request);
}
DRM_IOCTL_I915_GETPARAM, (unsigned long)request);
}
@@
-178,7
+178,7
@@
static int compat_i915_alloc(struct file *file, unsigned int cmd,
&request->region_offset))
return -EFAULT;
&request->region_offset))
return -EFAULT;
- return drm_ioctl(file->f_dentry->d_inode, file,
+ return drm_ioctl(file->f_
path.
dentry->d_inode, file,
DRM_IOCTL_I915_ALLOC, (unsigned long)request);
}
DRM_IOCTL_I915_ALLOC, (unsigned long)request);
}
@@
-215,7
+215,7
@@
long i915_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
if (fn != NULL)
ret = (*fn) (filp, cmd, arg);
else
if (fn != NULL)
ret = (*fn) (filp, cmd, arg);
else
- ret = drm_ioctl(filp->f_dentry->d_inode, filp, cmd, arg);
+ ret = drm_ioctl(filp->f_
path.
dentry->d_inode, filp, cmd, arg);
unlock_kernel();
return ret;
unlock_kernel();
return ret;