summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_ioctl.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-07-20 11:29:35 +1000
committerDave Chinner <david@fromorbit.com>2016-07-20 11:29:35 +1000
commit8f3e2058e1746dc3fb8145f8fbd5ee358cbc1a30 (patch)
tree29d669c13e40bc557ebf5ae50b220017a9f4b79a /fs/xfs/xfs_ioctl.h
parent1a695a905c18548062509178b98bc91e67510864 (diff)
downloadlinux-8f3e2058e1746dc3fb8145f8fbd5ee358cbc1a30.tar.bz2
xfs: don't pass ioflags around in the ioctl path
Instead check the file pointer for the invisble I/O flag directly, and use the chance to drop redundant arguments from the xfs_ioc_space prototype. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_ioctl.h')
-rw-r--r--fs/xfs/xfs_ioctl.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/xfs/xfs_ioctl.h b/fs/xfs/xfs_ioctl.h
index 77c02c7900b6..8b52881bfd90 100644
--- a/fs/xfs/xfs_ioctl.h
+++ b/fs/xfs/xfs_ioctl.h
@@ -20,10 +20,7 @@
extern int
xfs_ioc_space(
- struct xfs_inode *ip,
- struct inode *inode,
struct file *filp,
- int ioflags,
unsigned int cmd,
xfs_flock64_t *bf);