diff options
author | Josef Sipek <jsipek@fsl.cs.sunysb.edu> | 2006-12-08 05:36:59 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:28:44 -0500 |
commit | cc5ef55fd0d81f70b0afc86817aa1d305fd6aeaa (patch) | |
tree | 9efad23b8098207a5fa944476798591c270c5910 /drivers/char/drm/r128_ioc32.c | |
parent | d817be9ca8766b521f6195f57281284c5ab0ff4c (diff) |
[PATCH] struct path: convert drm
Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/drm/r128_ioc32.c')
-rw-r--r-- | drivers/char/drm/r128_ioc32.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/char/drm/r128_ioc32.c b/drivers/char/drm/r128_ioc32.c index 9dd6d4116e47..d3cb676eee84 100644 --- a/drivers/char/drm/r128_ioc32.c +++ b/drivers/char/drm/r128_ioc32.c | |||
@@ -95,7 +95,7 @@ static int compat_r128_init(struct file *file, unsigned int cmd, | |||
95 | &init->agp_textures_offset)) | 95 | &init->agp_textures_offset)) |
96 | return -EFAULT; | 96 | return -EFAULT; |
97 | 97 | ||
98 | return drm_ioctl(file->f_dentry->d_inode, file, | 98 | return drm_ioctl(file->f_path.dentry->d_inode, file, |
99 | DRM_IOCTL_R128_INIT, (unsigned long)init); | 99 | DRM_IOCTL_R128_INIT, (unsigned long)init); |
100 | } | 100 | } |
101 | 101 | ||
@@ -129,7 +129,7 @@ static int compat_r128_depth(struct file *file, unsigned int cmd, | |||
129 | &depth->mask)) | 129 | &depth->mask)) |
130 | return -EFAULT; | 130 | return -EFAULT; |
131 | 131 | ||
132 | return drm_ioctl(file->f_dentry->d_inode, file, | 132 | return drm_ioctl(file->f_path.dentry->d_inode, file, |
133 | DRM_IOCTL_R128_DEPTH, (unsigned long)depth); | 133 | DRM_IOCTL_R128_DEPTH, (unsigned long)depth); |
134 | 134 | ||
135 | } | 135 | } |
@@ -153,7 +153,7 @@ static int compat_r128_stipple(struct file *file, unsigned int cmd, | |||
153 | &stipple->mask)) | 153 | &stipple->mask)) |
154 | return -EFAULT; | 154 | return -EFAULT; |
155 | 155 | ||
156 | return drm_ioctl(file->f_dentry->d_inode, file, | 156 | return drm_ioctl(file->f_path.dentry->d_inode, file, |
157 | DRM_IOCTL_R128_STIPPLE, (unsigned long)stipple); | 157 | DRM_IOCTL_R128_STIPPLE, (unsigned long)stipple); |
158 | } | 158 | } |
159 | 159 | ||
@@ -178,7 +178,7 @@ static int compat_r128_getparam(struct file *file, unsigned int cmd, | |||
178 | &getparam->value)) | 178 | &getparam->value)) |
179 | return -EFAULT; | 179 | return -EFAULT; |
180 | 180 | ||
181 | return drm_ioctl(file->f_dentry->d_inode, file, | 181 | return drm_ioctl(file->f_path.dentry->d_inode, file, |
182 | DRM_IOCTL_R128_GETPARAM, (unsigned long)getparam); | 182 | DRM_IOCTL_R128_GETPARAM, (unsigned long)getparam); |
183 | } | 183 | } |
184 | 184 | ||
@@ -214,7 +214,7 @@ long r128_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) | |||
214 | if (fn != NULL) | 214 | if (fn != NULL) |
215 | ret = (*fn) (filp, cmd, arg); | 215 | ret = (*fn) (filp, cmd, arg); |
216 | else | 216 | else |
217 | ret = drm_ioctl(filp->f_dentry->d_inode, filp, cmd, arg); | 217 | ret = drm_ioctl(filp->f_path.dentry->d_inode, filp, cmd, arg); |
218 | unlock_kernel(); | 218 | unlock_kernel(); |
219 | 219 | ||
220 | return ret; | 220 | return ret; |