Page MenuHomeFreeBSD

D57533.id.diff
No OneTemporary

D57533.id.diff

diff --git a/sys/kern/vfs_mountroot.c b/sys/kern/vfs_mountroot.c
--- a/sys/kern/vfs_mountroot.c
+++ b/sys/kern/vfs_mountroot.c
@@ -1061,6 +1061,7 @@
struct mount *mp;
struct sbuf *sb;
struct thread *td;
+ inittodr_cookie_t cookie;
time_t timebase;
int error;
@@ -1074,6 +1075,7 @@
vfs_mountroot_conf0(sb);
sbuf_finish(sb);
+ inittodr_early(&cookie);
error = vfs_mountroot_devfs(td, &mp);
while (!error) {
error = vfs_mountroot_parse(sb, mp);
@@ -1102,7 +1104,7 @@
mp = TAILQ_NEXT(mp, mnt_list);
}
mtx_unlock(&mountlist_mtx);
- inittodr(timebase);
+ inittodr_late(cookie, timebase);
/* Keep prison0's root in sync with the global rootvnode. */
mtx_lock(&prison0.pr_mtx);

File Metadata

Mime Type
text/plain
Expires
Sun, Jun 14, 8:04 AM (48 m, 37 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33884434
Default Alt Text
D57533.id.diff (709 B)

Event Timeline