From 1e51d3c721582f0306afd3454bad76209cb3d845 Mon Sep 17 00:00:00 2001 From: pjd Date: Sun, 15 Apr 2007 09:10:17 +0000 Subject: MFp4: Start DNLC after desiredvnodes variable is initialized. Before this change if zfs.ko was loaded by the loader, DNLC was automatically disabled. Reported by: Zephiris --- sys/contrib/opensolaris/uts/common/fs/dnlc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/contrib') diff --git a/sys/contrib/opensolaris/uts/common/fs/dnlc.c b/sys/contrib/opensolaris/uts/common/fs/dnlc.c index a62e542..1df75e9 100644 --- a/sys/contrib/opensolaris/uts/common/fs/dnlc.c +++ b/sys/contrib/opensolaris/uts/common/fs/dnlc.c @@ -839,5 +839,5 @@ dnlc_lowvnodes(void *arg __unused, int nvnodes) dnlc_reduce_cache((void *)(intptr_t)nvnodes); } -SYSINIT(dnlc, SI_SUB_DRIVERS, SI_ORDER_ANY, dnlc_init, NULL); -SYSUNINIT(dnlc, SI_SUB_DRIVERS, SI_ORDER_ANY, dnlc_fini, NULL); +SYSINIT(dnlc, SI_SUB_VFS, SI_ORDER_ANY, dnlc_init, NULL); +SYSUNINIT(dnlc, SI_SUB_VFS, SI_ORDER_ANY, dnlc_fini, NULL); -- cgit v1.1