Re: [PATCH 12/19] xfs: tidy up xfs_rtallocate_extent_block

Christoph Hellwig
2023-12-15T04:10:16Z

On Thu, Dec 14, 2023 at 01:16:20PM -0800, Darrick J. Wong wrote:
> > + if (maxlen < minlen || besti == -1) {
>
> ...because I was worried about accidentally ending up in this clause
> if maxlen < minlen. I /think/ it's the case that this function never
> gets called with that true, right?
>
> (Would this be a good place to add a ebugging assertion?)

I'll look into it.