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>
This commit is contained in:
Christoph Hellwig
2019-10-24 22:26:02 -07:00
committed by Darrick J. Wong
부모 9afe1d5c14
커밋 837a6e7f5c
7개의 변경된 파일53개의 추가작업 그리고 75개의 파일을 삭제

파일 보기

@@ -9,7 +9,6 @@
extern int
xfs_ioc_space(
struct file *filp,
unsigned int cmd,
xfs_flock64_t *bf);
int