Skip to content

Commit

Permalink
Macos: remove namespace from zprops
Browse files Browse the repository at this point in the history
Remove prefix to avoid conflict with user-defined properties
Signed-off-by: Andrew Innes <[email protected]>
  • Loading branch information
andrewc12 committed Jan 18, 2024
1 parent 956be9a commit d3acfe1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions module/zcommon/zfs_prop.c
Original file line number Diff line number Diff line change
Expand Up @@ -630,19 +630,19 @@ zfs_prop_init(void)
* These props are needed for compatability with pools created
* using openzfsonosx
*/
zprop_register_index(ZFS_PROP_BROWSE, "com.apple.browse", 1,
zprop_register_index(ZFS_PROP_BROWSE, "browse", 1,
PROP_INHERIT, ZFS_TYPE_FILESYSTEM, "on | off",
"COM.APPLE.BROWSE", boolean_table, sfeatures);
zprop_register_index(ZFS_PROP_IGNOREOWNER, "com.apple.ignoreowner", 0,
zprop_register_index(ZFS_PROP_IGNOREOWNER, "ignoreowner", 0,
PROP_INHERIT, ZFS_TYPE_FILESYSTEM, "on | off",
"COM.APPLE.IGNOREOWNER", boolean_table, sfeatures);
zprop_register_hidden(ZFS_PROP_LASTUNMOUNT, "COM.APPLE.LASTUNMOUNT",
PROP_TYPE_NUMBER, PROP_READONLY, ZFS_TYPE_DATASET, "LASTUNMOUNT",
B_FALSE, sfeatures);
zprop_register_index(ZFS_PROP_MIMIC, "com.apple.mimic", 0,
zprop_register_index(ZFS_PROP_MIMIC, "mimic", 0,
PROP_INHERIT, ZFS_TYPE_FILESYSTEM, "off | hfs | apfs",
"COM.APPLE.MIMIC_HFS", mimic_table, sfeatures);
zprop_register_index(ZFS_PROP_DEVDISK, "com.apple.devdisk", 0,
zprop_register_index(ZFS_PROP_DEVDISK, "devdisk", 0,
PROP_INHERIT, ZFS_TYPE_FILESYSTEM, "poolonly | on | off",
"COM.APPLE.DEVDISK", devdisk_table, sfeatures);

Expand Down

0 comments on commit d3acfe1

Please sign in to comment.