Skip to content

Commit

Permalink
add ifdef for registering zprops
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Innes <[email protected]>
  • Loading branch information
andrewc12 committed Oct 31, 2023
1 parent 9cbf549 commit 5effd24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/zcommon/zfs_prop.c
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ zfs_prop_init(void)
ZFS_TYPE_DATASET | ZFS_TYPE_BOOKMARK, "<snapshot>[,...]",
"RSNAPS", sfeatures);

/* __APPLE__ */
#ifdef __APPLE__
zprop_register_index(ZFS_PROP_BROWSE, "com.apple.browse", 1,
PROP_INHERIT, ZFS_TYPE_FILESYSTEM, "on | off",
"COM.APPLE.BROWSE", boolean_table, sfeatures);
Expand All @@ -641,7 +641,7 @@ zfs_prop_init(void)
zprop_register_index(ZFS_PROP_DEVDISK, "com.apple.devdisk", 0,
PROP_INHERIT, ZFS_TYPE_FILESYSTEM, "poolonly | on | off",
"COM.APPLE.DEVDISK", devdisk_table, sfeatures);
/* __APPLE__ */
#endif /* __APPLE__ */

/* readonly number properties */
zprop_register_number(ZFS_PROP_USED, "used", 0, PROP_READONLY,
Expand Down

0 comments on commit 5effd24

Please sign in to comment.