On Mon, Oct 07, 2024 at 09:07:08PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@xxxxxxxxxx> > > The variable declaration in this function predates the merge of the > nrext64 (aka 64-bit extent counters) feature, which means that the > variable declaration type is insufficient to avoid an integer overflow. > Fix that by redeclaring the variable to be xfs_extnum_t. Looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>