From d3acfe1ab4734e623fb38c0b144531a33766fd40 Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Thu, 18 Jan 2024 14:01:30 +0800 Subject: [PATCH] Macos: remove namespace from zprops Remove prefix to avoid conflict with user-defined properties Signed-off-by: Andrew Innes --- module/zcommon/zfs_prop.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/module/zcommon/zfs_prop.c b/module/zcommon/zfs_prop.c index 00bad9bb8863..417c148d1779 100644 --- a/module/zcommon/zfs_prop.c +++ b/module/zcommon/zfs_prop.c @@ -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);