Darrick J. Wong 983d8e60f5 xfs: map unwritten blocks in XFS_IOC_{ALLOC,FREE}SP just like fallocate
The old ALLOCSP/FREESP ioctls in XFS can be used to preallocate space at
the end of files, just like fallocate and RESVSP.  Make the behavior
consistent with the other ioctls.

Reported-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
2021-12-22 14:19:18 -08:00
..
2021-10-22 16:00:31 -07:00
2018-06-06 14:17:53 -07:00
2021-09-02 09:21:27 -07:00
2019-10-28 08:37:54 -07:00
2021-06-21 10:05:51 -07:00
2021-09-02 08:26:03 -07:00
2018-06-06 14:17:53 -07:00
2021-11-24 10:06:02 -08:00
2021-11-24 10:06:02 -08:00
2021-04-12 15:04:29 +02:00
2021-04-12 15:04:29 +02:00
2021-08-24 19:13:04 -07:00
2021-01-24 14:43:46 +01:00
2021-01-24 14:43:46 +01:00
2021-06-21 10:05:51 -07:00
2021-10-14 09:19:33 -07:00
2021-10-22 16:04:20 -07:00
2021-06-21 10:05:46 -07:00
2021-01-24 14:43:46 +01:00
2021-08-19 10:07:14 -07:00