diff options
author | Li Hong <lihong.hi@gmail.com> | 2010-03-31 09:41:00 +0200 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-03-31 09:55:00 +0200 |
commit | 753234007f4ac2c96921cfb19ec1ba535ac29790 (patch) | |
tree | c238c54daff482ba3e91153b0d13e2c646a6e1bd /fs/nilfs2/ioctl.c | |
parent | Linux 2.6.34-rc3 (diff) | |
download | linux-753234007f4ac2c96921cfb19ec1ba535ac29790.tar.xz linux-753234007f4ac2c96921cfb19ec1ba535ac29790.zip |
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/ioctl.c')
-rw-r--r-- | fs/nilfs2/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/ioctl.c b/fs/nilfs2/ioctl.c index 313d0a21da48..c446017141d8 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: |