Skip to content

Commit

Permalink
nilfs2: fix a wrong type conversion in nilfs_ioctl()
Browse files Browse the repository at this point in the history
(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>
  • Loading branch information
Li Hong authored and Ryusuke Konishi committed Mar 31, 2010
1 parent 2eaa9cf commit 7532340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/nilfs2/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7532340

Please sign in to comment.