Print this page
8115 parallel zfs mount

@@ -21,10 +21,12 @@
 #
 #
 # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright 2017 RackTop Systems.
+#
 
 MODULE = libzpool.so
 MDBTGT = proc
 
 MODSRCS = zfs.c list.c

@@ -36,10 +38,11 @@
 include ../../../common/modules/zfs/Makefile.zfs
 
 MODSRCS_DIR = ../../../common/modules/zfs
 GENUNIX_DIR = ../../../common/modules/genunix
 
+CPPFLAGS.first = -I$(SRC)/lib/libfakekernel/common -D_FAKE_KERNEL
 CPPFLAGS += -I../../../../../lib/libzpool/common \
         -I../../../../../uts/common/fs/zfs
 
 C99MODE=        -xc99=%all
 C99LMODE=       -Xc99=%all