On Mon, Oct 12, 2020 at 02:59:29PM +0530, Chandan Babu R wrote: > When adding a new data extent (without modifying an inode's existing > extents) the extent count increases only by 1. This commit checks for > extent count overflow in such cases. > > Reviewed-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > Signed-off-by: Chandan Babu R <chandanrlinux@xxxxxxxxx> I still don't think XFS_IEXT_ADD_NOSPLIT_CNT is a good idea, but it seems like that is the minority opinion. The rest looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>