aboutsummaryrefslogtreecommitdiff
path: root/fs/nilfs2
diff options
context:
space:
mode:
authorLi Hong <lihong.hi@gmail.com>2010-03-31 15:41:00 +0800
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2010-03-31 16:55:00 +0900
commit753234007f4ac2c96921cfb19ec1ba535ac29790 (patch)
treec238c54daff482ba3e91153b0d13e2c646a6e1bd /fs/nilfs2
parent2eaa9cfdf33b8d7fb7aff27792192e0019ae8fc6 (diff)
nilfs2: fix a wrong type conversion in nilfs_ioctl()
(void * __user *) should be (void __user *) Signed-off-by: Li Hong <lihong.hi@gmail.com> Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2')
-rw-r--r--fs/nilfs2/ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/ioctl.c b/fs/nilfs2/ioctl.c
index 313d0a21da4..c446017141d 100644
--- a/fs/nilfs2/ioctl.c
+++ b/fs/nilfs2/ioctl.c
@@ -648,7 +648,7 @@ static int nilfs_ioctl_get_info(struct inode *inode, struct file *filp,
long nilfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
{
struct inode *inode = filp->f_dentry->d_inode;
- void __user *argp = (void * __user *)arg;
+ void __user *argp = (void __user *)arg;
switch (cmd) {
case NILFS_IOCTL_CHANGE_CPMODE: