Print this page
8115 parallel zfs mount

@@ -23,10 +23,11 @@
  *
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  *
  * Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
+ * Copyright 2017 RackTop Systems.
  */
 
 #ifndef _SYS_ACL_H
 #define _SYS_ACL_H
 

@@ -156,11 +157,11 @@
 #define ACE_SYSTEM_AUDIT_CALLBACK_OBJECT_ACE_TYPE       0x0F
 #define ACE_SYSTEM_ALARM_CALLBACK_OBJECT_ACE_TYPE       0x10
 
 #define ACE_ALL_TYPES   0x001F
 
-#ifdef _KERNEL
+#if defined(_KERNEL) || defined(_FAKE_KERNEL)
 
 typedef struct ace_object {
         uid_t           a_who;          /* uid or gid */
         uint32_t        a_access_mask;  /* read,write,... */
         uint16_t        a_flags;        /* see below */