On Thu, Nov 26, 2026 at 04:21:03PM +0100, Brett A C Sheffield wrote:
# first 'bad' commit: [f1311182306c2b85f4724cb776467034a36baaa6] initrd: flush deferred fput() before mounting root
Confirmed that reverting f1311182306c2b85f4724cb776467034a36baaa6 fixes the build.
I've dropped 807c1d7125a2 ("initrd: flush deferred fput() before mounting root") from the 5.15, 5.10 and 6.1 queues. It calls init_flush_fput(), which only exists since 386dc41cf54d ("init: flush async file closing") in v6.9, and that commit doesn't apply to these trees. do_mounts_rd.c is only built with CONFIG_BLK_DEV_RAM, which is why it wasn't caught earlier.
6.6 has the same problem; there I'll queue 386dc41cf54d ahead of it. 7.3, 6.18 and 6.12 already have the helper.
Thanks for the bisection!