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
/
r128_ioc32.c
diff --git
a/drivers/char/drm/r128_ioc32.c
b/drivers/char/drm/r128_ioc32.c
index
9dd6d41
..
d3cb676
100644
(file)
--- 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,
&init->agp_textures_offset))
return -EFAULT;
&init->agp_textures_offset))
return -EFAULT;
- return drm_ioctl(file->f_dentry->d_inode, file,
+ return drm_ioctl(file->f_
path.
dentry->d_inode, file,
DRM_IOCTL_R128_INIT, (unsigned long)init);
}
DRM_IOCTL_R128_INIT, (unsigned long)init);
}
@@
-129,7
+129,7
@@
static int compat_r128_depth(struct file *file, unsigned int cmd,
&depth->mask))
return -EFAULT;
&depth->mask))
return -EFAULT;
- return drm_ioctl(file->f_dentry->d_inode, file,
+ return drm_ioctl(file->f_
path.
dentry->d_inode, file,
DRM_IOCTL_R128_DEPTH, (unsigned long)depth);
}
DRM_IOCTL_R128_DEPTH, (unsigned long)depth);
}
@@
-153,7
+153,7
@@
static int compat_r128_stipple(struct file *file, unsigned int cmd,
&stipple->mask))
return -EFAULT;
&stipple->mask))
return -EFAULT;
- return drm_ioctl(file->f_dentry->d_inode, file,
+ return drm_ioctl(file->f_
path.
dentry->d_inode, file,
DRM_IOCTL_R128_STIPPLE, (unsigned long)stipple);
}
DRM_IOCTL_R128_STIPPLE, (unsigned long)stipple);
}
@@
-178,7
+178,7
@@
static int compat_r128_getparam(struct file *file, unsigned int cmd,
&getparam->value))
return -EFAULT;
&getparam->value))
return -EFAULT;
- return drm_ioctl(file->f_dentry->d_inode, file,
+ return drm_ioctl(file->f_
path.
dentry->d_inode, file,
DRM_IOCTL_R128_GETPARAM, (unsigned long)getparam);
}
DRM_IOCTL_R128_GETPARAM, (unsigned long)getparam);
}
@@
-214,7
+214,7
@@
long r128_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;