]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0c72c25a16988521b77277795b519d35a43e0e73
tree7d0ae32f039afb04576d96dd2b66b80f3d8780e9
parentd650563759262de06bc49eb056a98bf4ebcb112b
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