Re: [PATCH v2] xfs: fix slab-use-after-free in xrep_newbt_free()

From: Zheng Shuhao

Date: Tue Dec 01 2026 - 06:47:53 EST


> So the condition here is not "is the file system shut down" but:
> did a defer_finish fail for this chain, and the logic needs to represent that.

I see... Would `if (!list_empty(&sc->tp->t_dfops))` be the right check
here? Or should I add an explicit flag? That would make the change more
involved. I'll take another look.

Thanks,
Zheng