diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2017-03-23 17:41:28 +1100 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2017-07-11 14:32:17 +1000 |
commit | 417265c68731537deeed22a3a3530cd6dd986513 (patch) | |
tree | 670d46ca2802a90b966fbb84b5932e5134497157 /discover/sysinfo.h | |
parent | f03763aec302d379fe9f7494af136a215e57ab16 (diff) | |
download | talos-petitboot-417265c68731537deeed22a3a3530cd6dd986513.tar.gz talos-petitboot-417265c68731537deeed22a3a3530cd6dd986513.zip |
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 <sam@mendozajonas.com>
Diffstat (limited to 'discover/sysinfo.h')
-rw-r--r-- | discover/sysinfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/discover/sysinfo.h b/discover/sysinfo.h index 19ed950..c570951 100644 --- a/discover/sysinfo.h +++ b/discover/sysinfo.h @@ -15,6 +15,7 @@ void system_info_register_blockdev(const char *name, const char *uuid, const char *mountpoint); void system_info_init(struct discover_server *server); +void system_info_reinit(void); #endif /* SYSINFO_H */ |