commit | 1bcd488f7f1989496c6961c6922d0af12e2480d7 | [log] [tgz] |
---|---|---|
author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | Tue Feb 13 18:13:28 2024 +0100 |
committer | Tom Rini <trini@konsulko.com> | Sat Mar 02 12:26:56 2024 -0500 |
tree | c59108f24be5abbe0cb1e5202a41793f38c1e174 | |
parent | 10a45ccc80624528c40682fba287278a732dede9 [diff] |
log: fixup log_head after relocating global data When `gd` is relocated during `spl_relocate_stack_gd()` the doubly-linked circular list in the `log_head` member is broken. The last element of the list should point back to the initial `list_head`, but as the initial `list_head` is moved the pointer becomes stale. As a result the loop in `log_dispatch` would never finish. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>