Re: [PATCH v3 2/4] xfs: refactor xfsaild_push loop into helper
From: Yuto Ohnuki
Date: Tue Mar 10 2026 - 13:46:20 EST
> > Factor the loop body of xfsaild_push() into a separate
> > xfsaild_process_logitem() helper to improve readability.
> >
> > This is a pure code movement with no functional change. The
> > subsequent patch to fix a use-after-free in the AIL push path
> > depends on this refactoring.
> >
> > Cc: <stable@xxxxxxxxxxxxxxx> # v5.9
> > Signed-off-by: Yuto Ohnuki <ytohnuki@xxxxxxxxxx>
>
> Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx>
Thanks for the review, Dave.
In v4, I reworked the patch ordering so that the bugfix patches don't
depend on the refactoring patch, reducing the stable backport burden.
Since the context has changed slightly, I've dropped your Reviewed-by
from this patch in v4 just to be safe. I would appreciate it if you
could take another look when you get a chance.
Yuto
Amazon Web Services EMEA SARL, 38 avenue John F. Kennedy, L-1855 Luxembourg, R.C.S. Luxembourg B186284
Amazon Web Services EMEA SARL, Irish Branch, One Burlington Plaza, Burlington Road, Dublin 4, Ireland, branch registration number 908705