From 417265c68731537deeed22a3a3530cd6dd986513 Mon Sep 17 00:00:00 2001 From: Samuel Mendoza-Jonas Date: Thu, 23 Mar 2017 17:41:28 +1100 Subject: discover/sysinfo: Add system_info_reinit() Currently over reinit events the system info is not affected. However network and block device information can change over reinit, so clear this information. Signed-off-by: Samuel Mendoza-Jonas --- discover/device-handler.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'discover/device-handler.c') diff --git a/discover/device-handler.c b/discover/device-handler.c index ec1eee3..a0c21b7 100644 --- a/discover/device-handler.c +++ b/discover/device-handler.c @@ -1407,6 +1407,8 @@ static void device_handler_reinit_sources(struct device_handler *handler) return; } + system_info_reinit(); + udev_reinit(handler->udev); network_shutdown(handler->network); -- cgit v1.2.1