]> git.ipfire.org Git - thirdparty/linux.git/commit - fs/ioctl.c
fs: add generic UNRESVSP and ZERO_RANGE ioctl handlers
authorChristoph Hellwig <hch@lst.de>
Fri, 25 Oct 2019 05:26:02 +0000 (22:26 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 28 Oct 2019 15:37:55 +0000 (08:37 -0700)
commit837a6e7f5cdb5e411c6187729e12962c2705160d
tree7d0ae32f039afb04576d96dd2b66b80f3d8780e9
parent9afe1d5c14e0fa59b678dcf013c8469cf3f0c132
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>
fs/compat_ioctl.c
fs/ioctl.c
fs/xfs/xfs_ioctl.c
fs/xfs/xfs_ioctl.h
fs/xfs/xfs_ioctl32.c
include/linux/falloc.h
include/linux/fs.h