Skip to content

Commit

Permalink
add ifdef for apple specific zprop tables
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 5effd24 commit 3ca9f99
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 @@ -398,7 +398,7 @@ zfs_prop_init(void)
struct zfs_mod_supported_features *sfeatures =
zfs_mod_list_supported(ZFS_SYSFS_DATASET_PROPERTIES);

/* __APPLE__ */
#ifdef __APPLE__
static zprop_index_t devdisk_table[] = {
{ "poolonly", ZFS_DEVDISK_POOLONLY },
{ "off", ZFS_DEVDISK_OFF },
Expand All @@ -412,7 +412,7 @@ zfs_prop_init(void)
{ "apfs", ZFS_MIMIC_APFS },
{ NULL }
};
/* __APPLE__ */
#endif /* __APPLE__ */

/* inherit index properties */
zprop_register_index(ZFS_PROP_REDUNDANT_METADATA, "redundant_metadata",
Expand Down

0 comments on commit 3ca9f99

Please sign in to comment.