]> git.proxmox.com Git - mirror_zfs.git/blobdiff - module/zfs/zfs_acl.c
Add `zfs allow` and `zfs unallow` support
[mirror_zfs.git] / module / zfs / zfs_acl.c
index 47cfd464b164acb20d10ac313be659d550bace0e..69a93a8b6acaf5f498418cfb722cc71ede5f95ba 100644 (file)
@@ -1744,9 +1744,7 @@ zfs_acl_ids_create(znode_t *dzp, int flag, vattr_t *vap, cred_t *cr,
        int             error;
        zfs_sb_t        *zsb = ZTOZSB(dzp);
        zfs_acl_t       *paclp;
-#ifdef HAVE_KSID
        gid_t           gid;
-#endif /* HAVE_KSID */
        boolean_t       need_chmod = B_TRUE;
        boolean_t       inherited = B_FALSE;
 
@@ -1760,7 +1758,6 @@ zfs_acl_ids_create(znode_t *dzp, int flag, vattr_t *vap, cred_t *cr,
 
        acl_ids->z_fuid = vap->va_uid;
        acl_ids->z_fgid = vap->va_gid;
-#ifdef HAVE_KSID
        /*
         * Determine uid and gid.
         */
@@ -1812,7 +1809,6 @@ zfs_acl_ids_create(znode_t *dzp, int flag, vattr_t *vap, cred_t *cr,
                        }
                }
        }
-#endif /* HAVE_KSID */
 
        /*
         * If we're creating a directory, and the parent directory has the