aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nilfs2/ioctl.c')
-rw-r--r--fs/nilfs2/ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nilfs2/ioctl.c b/fs/nilfs2/ioctl.c
index 33aff8842ce9..cfb27892ffe8 100644
--- a/fs/nilfs2/ioctl.c
+++ b/fs/nilfs2/ioctl.c
@@ -600,9 +600,9 @@ static int nilfs_ioctl_sync(struct inode *inode, struct file *filp,
600 return 0; 600 return 0;
601} 601}
602 602
603int nilfs_ioctl(struct inode *inode, struct file *filp, unsigned int cmd, 603long nilfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
604 unsigned long arg)
605{ 604{
605 struct inode *inode = filp->f_dentry->d_inode;
606 void __user *argp = (void * __user *)arg; 606 void __user *argp = (void * __user *)arg;
607 607
608 switch (cmd) { 608 switch (cmd) {