On Wed, May 04, 2022 at 08:17:27AM +1000, Dave Chinner wrote: > From: Dave Chinner <dchinner@xxxxxxxxxx> > > When we release an intent that a whiteout applies to, it will not > have been committed to the journal and so won't be in the AIL. Hence > when we drop the last reference to the intent, we do not want to try > to remove it from the AIL as that will trigger a filesystem > shutdown. Hence make the removal of intents from the AIL conditional > on them actually being in the AIL so we do the correct thing. > Looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>