Deleted Added
full compact
zfs_prop.c (228103) zfs_prop.c (243560)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 95 unchanged lines hidden (view full) ---

104 { "visible", ZFS_SNAPDIR_VISIBLE },
105 { NULL }
106 };
107
108 static zprop_index_t acl_mode_table[] = {
109 { "discard", ZFS_ACL_DISCARD },
110 { "groupmask", ZFS_ACL_GROUPMASK },
111 { "passthrough", ZFS_ACL_PASSTHROUGH },
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 95 unchanged lines hidden (view full) ---

104 { "visible", ZFS_SNAPDIR_VISIBLE },
105 { NULL }
106 };
107
108 static zprop_index_t acl_mode_table[] = {
109 { "discard", ZFS_ACL_DISCARD },
110 { "groupmask", ZFS_ACL_GROUPMASK },
111 { "passthrough", ZFS_ACL_PASSTHROUGH },
112 { "restricted", ZFS_ACL_RESTRICTED },
112 { NULL }
113 };
114
115 static zprop_index_t acl_inherit_table[] = {
116 { "discard", ZFS_ACL_DISCARD },
117 { "noallow", ZFS_ACL_NOALLOW },
118 { "restricted", ZFS_ACL_RESTRICTED },
119 { "passthrough", ZFS_ACL_PASSTHROUGH },

--- 92 unchanged lines hidden (view full) ---

212 ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME,
213 "on | off | lzjb | gzip | gzip-[1-9] | zle", "COMPRESS",
214 compress_table);
215 zprop_register_index(ZFS_PROP_SNAPDIR, "snapdir", ZFS_SNAPDIR_HIDDEN,
216 PROP_INHERIT, ZFS_TYPE_FILESYSTEM,
217 "hidden | visible", "SNAPDIR", snapdir_table);
218 zprop_register_index(ZFS_PROP_ACLMODE, "aclmode", ZFS_ACL_DISCARD,
219 PROP_INHERIT, ZFS_TYPE_FILESYSTEM,
113 { NULL }
114 };
115
116 static zprop_index_t acl_inherit_table[] = {
117 { "discard", ZFS_ACL_DISCARD },
118 { "noallow", ZFS_ACL_NOALLOW },
119 { "restricted", ZFS_ACL_RESTRICTED },
120 { "passthrough", ZFS_ACL_PASSTHROUGH },

--- 92 unchanged lines hidden (view full) ---

213 ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME,
214 "on | off | lzjb | gzip | gzip-[1-9] | zle", "COMPRESS",
215 compress_table);
216 zprop_register_index(ZFS_PROP_SNAPDIR, "snapdir", ZFS_SNAPDIR_HIDDEN,
217 PROP_INHERIT, ZFS_TYPE_FILESYSTEM,
218 "hidden | visible", "SNAPDIR", snapdir_table);
219 zprop_register_index(ZFS_PROP_ACLMODE, "aclmode", ZFS_ACL_DISCARD,
220 PROP_INHERIT, ZFS_TYPE_FILESYSTEM,
220 "discard | groupmask | passthrough", "ACLMODE", acl_mode_table);
221 "discard | groupmask | passthrough | restricted", "ACLMODE",
222 acl_mode_table);
221 zprop_register_index(ZFS_PROP_ACLINHERIT, "aclinherit",
222 ZFS_ACL_RESTRICTED, PROP_INHERIT, ZFS_TYPE_FILESYSTEM,
223 "discard | noallow | restricted | passthrough | passthrough-x",
224 "ACLINHERIT", acl_inherit_table);
225 zprop_register_index(ZFS_PROP_COPIES, "copies", 1, PROP_INHERIT,
226 ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME,
227 "1 | 2 | 3", "COPIES", copies_table);
228 zprop_register_index(ZFS_PROP_PRIMARYCACHE, "primarycache",

--- 390 unchanged lines hidden ---
223 zprop_register_index(ZFS_PROP_ACLINHERIT, "aclinherit",
224 ZFS_ACL_RESTRICTED, PROP_INHERIT, ZFS_TYPE_FILESYSTEM,
225 "discard | noallow | restricted | passthrough | passthrough-x",
226 "ACLINHERIT", acl_inherit_table);
227 zprop_register_index(ZFS_PROP_COPIES, "copies", 1, PROP_INHERIT,
228 ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME,
229 "1 | 2 | 3", "COPIES", copies_table);
230 zprop_register_index(ZFS_PROP_PRIMARYCACHE, "primarycache",

--- 390 unchanged lines hidden ---