aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_ioctl.h
diff options
context:
space:
mode:
authorGravatar Christoph Hellwig <hch@lst.de> 2019-10-24 22:26:02 -0700
committerGravatar Darrick J. Wong <darrick.wong@oracle.com> 2019-10-28 08:37:55 -0700
commit837a6e7f5cdb5e411c6187729e12962c2705160d (patch)
tree7d0ae32f039afb04576d96dd2b66b80f3d8780e9 /fs/xfs/xfs_ioctl.h
parentxfs: don't implement XFS_IOC_RESVSP / XFS_IOC_RESVSP64 (diff)
downloadlinux-837a6e7f5cdb5e411c6187729e12962c2705160d.tar.gz
linux-837a6e7f5cdb5e411c6187729e12962c2705160d.tar.bz2
linux-837a6e7f5cdb5e411c6187729e12962c2705160d.zip
fs: add generic UNRESVSP and ZERO_RANGE ioctl handlers
These use the same scheme as the pre-existing mapping of the XFS RESVP ioctls to ->falloc, so just extend it and remove the XFS implementation. Signed-off-by: Christoph Hellwig <hch@lst.de> [darrick: fix compile error on s390] Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_ioctl.h')
-rw-r--r--fs/xfs/xfs_ioctl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_ioctl.h b/fs/xfs/xfs_ioctl.h
index 654c0bb1bcf8..25ef178cbb74 100644
--- a/fs/xfs/xfs_ioctl.h
+++ b/fs/xfs/xfs_ioctl.h
@@ -9,7 +9,6 @@
extern int
xfs_ioc_space(
struct file *filp,
- unsigned int cmd,
xfs_flock64_t *bf);
int