Date: Tue, 9 Jul 2013 08:37:43 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r253070 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs Message-ID: <201307090837.r698bhqa015571@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avg Date: Tue Jul 9 08:37:42 2013 New Revision: 253070 URL: http://svnweb.freebsd.org/changeset/base/253070 Log: zfs: load zpool.cache after a root fs is mounted MFC after: 3 weeks Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c ============================================================================== --- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c Tue Jul 9 08:32:17 2013 (r253069) +++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_misc.c Tue Jul 9 08:37:42 2013 (r253070) @@ -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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307090837.r698bhqa015571>