diff options
-rw-r--r-- | fs/xfs/linux-2.6/xfs_ioctl.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/fs/xfs/linux-2.6/xfs_ioctl.c b/fs/xfs/linux-2.6/xfs_ioctl.c index 249375274d3f..59b5c9b21ed7 100644 --- a/fs/xfs/linux-2.6/xfs_ioctl.c +++ b/fs/xfs/linux-2.6/xfs_ioctl.c | |||
@@ -355,7 +355,6 @@ STATIC int | |||
355 | xfs_readlink_by_handle( | 355 | xfs_readlink_by_handle( |
356 | xfs_mount_t *mp, | 356 | xfs_mount_t *mp, |
357 | void __user *arg, | 357 | void __user *arg, |
358 | struct file *parfilp, | ||
359 | struct inode *parinode) | 358 | struct inode *parinode) |
360 | { | 359 | { |
361 | int error; | 360 | int error; |
@@ -406,7 +405,6 @@ STATIC int | |||
406 | xfs_fssetdm_by_handle( | 405 | xfs_fssetdm_by_handle( |
407 | xfs_mount_t *mp, | 406 | xfs_mount_t *mp, |
408 | void __user *arg, | 407 | void __user *arg, |
409 | struct file *parfilp, | ||
410 | struct inode *parinode) | 408 | struct inode *parinode) |
411 | { | 409 | { |
412 | int error; | 410 | int error; |
@@ -448,7 +446,6 @@ STATIC int | |||
448 | xfs_attrlist_by_handle( | 446 | xfs_attrlist_by_handle( |
449 | xfs_mount_t *mp, | 447 | xfs_mount_t *mp, |
450 | void __user *arg, | 448 | void __user *arg, |
451 | struct file *parfilp, | ||
452 | struct inode *parinode) | 449 | struct inode *parinode) |
453 | { | 450 | { |
454 | int error; | 451 | int error; |
@@ -569,7 +566,6 @@ STATIC int | |||
569 | xfs_attrmulti_by_handle( | 566 | xfs_attrmulti_by_handle( |
570 | xfs_mount_t *mp, | 567 | xfs_mount_t *mp, |
571 | void __user *arg, | 568 | void __user *arg, |
572 | struct file *parfilp, | ||
573 | struct inode *parinode) | 569 | struct inode *parinode) |
574 | { | 570 | { |
575 | int error; | 571 | int error; |
@@ -689,7 +685,6 @@ xfs_ioc_xattr( | |||
689 | STATIC int | 685 | STATIC int |
690 | xfs_ioc_getbmap( | 686 | xfs_ioc_getbmap( |
691 | bhv_desc_t *bdp, | 687 | bhv_desc_t *bdp, |
692 | struct file *filp, | ||
693 | int flags, | 688 | int flags, |
694 | unsigned int cmd, | 689 | unsigned int cmd, |
695 | void __user *arg); | 690 | void __user *arg); |
@@ -788,7 +783,7 @@ xfs_ioctl( | |||
788 | 783 | ||
789 | case XFS_IOC_GETBMAP: | 784 | case XFS_IOC_GETBMAP: |
790 | case XFS_IOC_GETBMAPA: | 785 | case XFS_IOC_GETBMAPA: |
791 | return xfs_ioc_getbmap(bdp, filp, ioflags, cmd, arg); | 786 | return xfs_ioc_getbmap(bdp, ioflags, cmd, arg); |
792 | 787 | ||
793 | case XFS_IOC_GETBMAPX: | 788 | case XFS_IOC_GETBMAPX: |
794 | return xfs_ioc_getbmapx(bdp, arg); | 789 | return xfs_ioc_getbmapx(bdp, arg); |
@@ -802,16 +797,16 @@ xfs_ioctl( | |||
802 | return xfs_open_by_handle(mp, arg, filp, inode); | 797 | return xfs_open_by_handle(mp, arg, filp, inode); |
803 | 798 | ||
804 | case XFS_IOC_FSSETDM_BY_HANDLE: | 799 | case XFS_IOC_FSSETDM_BY_HANDLE: |
805 | return xfs_fssetdm_by_handle(mp, arg, filp, inode); | 800 | return xfs_fssetdm_by_handle(mp, arg, inode); |
806 | 801 | ||
807 | case XFS_IOC_READLINK_BY_HANDLE: | 802 | case XFS_IOC_READLINK_BY_HANDLE: |
808 | return xfs_readlink_by_handle(mp, arg, filp, inode); | 803 | return xfs_readlink_by_handle(mp, arg, inode); |
809 | 804 | ||
810 | case XFS_IOC_ATTRLIST_BY_HANDLE: | 805 | case XFS_IOC_ATTRLIST_BY_HANDLE: |
811 | return xfs_attrlist_by_handle(mp, arg, filp, inode); | 806 | return xfs_attrlist_by_handle(mp, arg, inode); |
812 | 807 | ||
813 | case XFS_IOC_ATTRMULTI_BY_HANDLE: | 808 | case XFS_IOC_ATTRMULTI_BY_HANDLE: |
814 | return xfs_attrmulti_by_handle(mp, arg, filp, inode); | 809 | return xfs_attrmulti_by_handle(mp, arg, inode); |
815 | 810 | ||
816 | case XFS_IOC_SWAPEXT: { | 811 | case XFS_IOC_SWAPEXT: { |
817 | error = xfs_swapext((struct xfs_swapext __user *)arg); | 812 | error = xfs_swapext((struct xfs_swapext __user *)arg); |
@@ -1281,7 +1276,6 @@ xfs_ioc_xattr( | |||
1281 | STATIC int | 1276 | STATIC int |
1282 | xfs_ioc_getbmap( | 1277 | xfs_ioc_getbmap( |
1283 | bhv_desc_t *bdp, | 1278 | bhv_desc_t *bdp, |
1284 | struct file *filp, | ||
1285 | int ioflags, | 1279 | int ioflags, |
1286 | unsigned int cmd, | 1280 | unsigned int cmd, |
1287 | void __user *arg) | 1281 | void __user *arg) |