On Thu, Oct 01, 2020 at 09:49:24PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > If userspace asked fsmap to count the number of entries, we cannot > return more than UINT_MAX entries because fmh_entries is u32. > Therefore, stop counting if we hit this limit or else we will waste time > to return truncated results. Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx> (after remembering the magic repurposing of -ECANCELED in the fsmap code)