xfs: remove the XFS_IOC_{ALLOC,FREE}SP* definitions
Now that we've made these ioctls defunct, move them from xfs_fs.h to xfs_ioctl.c, which effectively removes them from the publicly supported ioctl interfaces for XFS. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Eric Sandeen <sandeen@redhat.com>
This commit is contained in:
		| @@ -1854,6 +1854,15 @@ xfs_fs_eofblocks_from_user( | ||||
| 	return 0; | ||||
| } | ||||
| 
 | ||||
| /*
 | ||||
|  * These long-unused ioctls were removed from the official ioctl API in 5.17, | ||||
|  * but retain these definitions so that we can log warnings about them. | ||||
|  */ | ||||
| #define XFS_IOC_ALLOCSP		_IOW ('X', 10, struct xfs_flock64) | ||||
| #define XFS_IOC_FREESP		_IOW ('X', 11, struct xfs_flock64) | ||||
| #define XFS_IOC_ALLOCSP64	_IOW ('X', 36, struct xfs_flock64) | ||||
| #define XFS_IOC_FREESP64	_IOW ('X', 37, struct xfs_flock64) | ||||
| 
 | ||||
| /*
 | ||||
|  * Note: some of the ioctl's return positive numbers as a | ||||
|  * byte count indicating success, such as readlink_by_handle. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user