Files
linux/drivers/xen
Yuho Choi d330fb86a7 xenbus: Unregister reboot notifier on init failure
xs_init() registers xs_reboot_nb before initializing XenStore
communications and starting xenwatch. If either operation fails, the
notifier remains registered and a later initialization attempt can hit a
duplicate registration.

Check the notifier registration result and unregister it on every
subsequent failure path.

Fixes: fd8aa9095a ("xen: optimize xenbus driver for multiple concurrent xenstore accesses")
Signed-off-by: Yuho Choi <dbgh9129@gmail.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Message-ID: <20260807032326.940377-1-dbgh9129@gmail.com>
2026-08-13 12:48:57 +02:00
..
2026-08-06 13:18:31 +02:00
2025-11-16 01:35:02 -05:00
2026-08-06 13:18:32 +02:00
2026-08-06 13:18:32 +02:00
2026-08-06 13:18:32 +02:00