diff options
author | Li Hong <lihong.hi@gmail.com> | 2010-03-31 03:41:00 -0400 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-03-31 03:55:00 -0400 |
commit | 753234007f4ac2c96921cfb19ec1ba535ac29790 (patch) | |
tree | c238c54daff482ba3e91153b0d13e2c646a6e1bd | |
parent | 2eaa9cfdf33b8d7fb7aff27792192e0019ae8fc6 (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>
-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, | |||
648 | long nilfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) | 648 | long nilfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) |
649 | { | 649 | { |
650 | struct inode *inode = filp->f_dentry->d_inode; | 650 | struct inode *inode = filp->f_dentry->d_inode; |
651 | void __user *argp = (void * __user *)arg; | 651 | void __user *argp = (void __user *)arg; |
652 | 652 | ||
653 | switch (cmd) { | 653 | switch (cmd) { |
654 | case NILFS_IOCTL_CHANGE_CPMODE: | 654 | case NILFS_IOCTL_CHANGE_CPMODE: |