Chandan Babu R ee898d78c3 xfs: Check for extent overflow when remapping an extent
Remapping an extent involves unmapping the existing extent and mapping
in the new extent. When unmapping, an extent containing the entire unmap
range can be split into two extents,
i.e. | Old extent | hole | Old extent |
Hence extent count increases by 1.

Mapping in the new extent into the destination file can increase the
extent count by 1.

Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Chandan Babu R <chandanrlinux@gmail.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2021-01-22 16:54:48 -08:00
..
2020-09-06 18:05:51 -07:00
2020-09-15 20:52:41 -07:00
2020-03-02 20:55:55 -08:00
2019-10-28 08:37:54 -07:00
2020-12-16 16:07:34 -08:00
2020-12-16 16:07:34 -08:00
2020-12-16 16:07:34 -08:00
2020-03-11 09:11:39 -07:00
2020-12-18 12:50:18 -08:00
2020-09-15 20:52:42 -07:00
2020-10-07 08:40:29 -07:00
2020-10-07 08:40:29 -07:00
2020-09-15 20:52:39 -07:00
2019-07-03 08:21:58 -07:00
2020-12-16 16:07:34 -08:00
2020-12-16 16:07:34 -08:00
2020-12-16 16:07:34 -08:00
2020-05-08 08:51:34 -07:00