Chandan Babu R f5d9274919 xfs: Check for extent overflow when adding dir entries
Directory entry addition can cause the following,
1. Data block can be added/removed.
   A new extent can cause extent count to increase by 1.
2. Free disk block can be added/removed.
   Same behaviour as described above for Data block.
3. Dabtree blocks.
   XFS_DA_NODE_MAXDEPTH blocks can be added. Each of these
   can be new extents. Hence extent count can increase by
   XFS_DA_NODE_MAXDEPTH.

Signed-off-by: Chandan Babu R <chandanrlinux@gmail.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2021-01-22 16:54:47 -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
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
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