On Wed, Jun 28, 2023 at 08:44:12AM +1000, Dave Chinner wrote: > From: Dave Chinner <dchinner@xxxxxxxxxx> > > Need to happen before we allocate and then leak the xefi. Found by > coverity via an xfsprogs libxfs scan. ... and also fixes the type of the agbno argument, which probably should be here in the commit log. Otherwise looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>