Darrick J. Wong 19e3d9a26f xfs: map unwritten blocks in XFS_IOC_{ALLOC,FREE}SP just like fallocate
commit 983d8e60f50806f90534cc5373d0ce867e5aaf79 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-01-11 13:38:12 +01:00
..
2017-10-08 10:26:11 +02:00
2017-10-08 10:26:11 +02:00
2016-10-04 18:06:40 -07:00
2018-02-03 17:05:40 +01:00
2016-10-04 11:05:44 -07:00
2017-09-20 08:20:02 +02:00
2017-10-08 10:26:11 +02:00
2016-06-01 17:38:15 +10:00
2017-06-07 12:07:52 +02:00