Print this page
8115 parallel zfs mount

@@ -19,10 +19,11 @@
  *
  * CDDL HEADER END
  */
 /*
  * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ * Copyright 2017 RackTop Systems.
  *
  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 

@@ -240,11 +241,11 @@
 } lgrp_snapshot_header32_t;
 
 #endif  /* _SYSCALL32 */
 
 
-#if (!defined(_KERNEL) && !defined(_KMEMUSER))
+#if !defined(_KERNEL) && !defined(_FAKE_KERNEL) && !defined(_KMEMUSER)
 
 lgrp_affinity_t lgrp_affinity_get(idtype_t idtype, id_t id, lgrp_id_t lgrp);
 
 int             lgrp_affinity_set(idtype_t idtype, id_t id, lgrp_id_t lgrp,
     lgrp_affinity_t aff);

@@ -283,11 +284,11 @@
 
 int             lgrp_version(int version);
 
 lgrp_view_t     lgrp_view(lgrp_cookie_t cookie);
 
-#endif  /* !_KERNEL && !_KMEMUSER */
+#endif  /* !_KERNEL && !_FAKE_KERNEL && !_KMEMUSER */
 
 #ifdef  __cplusplus
 }
 #endif