nilfs2: fix a wrong type conversion in nilfs_ioctl()
authorLi Hong <lihong.hi@gmail.com>
Wed, 31 Mar 2010 07:41:00 +0000 (15:41 +0800)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Wed, 31 Mar 2010 07:55:00 +0000 (16:55 +0900)
(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>
fs/nilfs2/ioctl.c

index 313d0a21da480afc05afacfb46bec6f74e34b76a..c446017141d8abc93cdb42255020ff3e6112d131 100644 (file)
@@ -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: