svn commit: r254047 - stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Andriy Gapon
avg at FreeBSD.org
Wed Aug 7 07:41:48 UTC 2013
Author: avg
Date: Wed Aug 7 07:41:48 2013
New Revision: 254047
URL: http://svnweb.freebsd.org/changeset/base/254047
Log:
MFC r253070: zfs: load zpool.cache after a root fs is mounted
Modified:
stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c
Directory Properties:
stable/9/sys/ (props changed)
stable/9/sys/cddl/contrib/opensolaris/ (props changed)
Modified: stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c
==============================================================================
--- stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c Wed Aug 7 07:39:52 2013 (r254046)
+++ stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c Wed Aug 7 07:41:48 2013 (r254047)
@@ -1697,6 +1697,10 @@ spa_boot_init()
spa_config_load();
}
+#ifdef _KERNEL
+EVENTHANDLER_DEFINE(mountroot, spa_boot_init, NULL, 0);
+#endif
+
void
spa_init(int mode)
{
More information about the svn-src-all
mailing list