Skip to content

Commit

Permalink
add ntfs to mimic enum
Browse files Browse the repository at this point in the history
This comes from openzfsonwindows
Signed-off-by: Andrew Innes <[email protected]>
  • Loading branch information
andrewc12 committed Nov 1, 2023
1 parent 3ed8bc6 commit f995b08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/sys/fs/zfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,8 @@ typedef enum {
typedef enum zfs_mimic {
ZFS_MIMIC_OFF = 0,
ZFS_MIMIC_HFS,
ZFS_MIMIC_APFS
ZFS_MIMIC_APFS,
ZFS_MIMIC_NTFS
} zfs_mimic_t;

typedef enum zfs_devdisk {
Expand Down
1 change: 1 addition & 0 deletions module/zcommon/zfs_prop.c
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ zfs_prop_init(void)
{ "off", ZFS_MIMIC_OFF },
{ "hfs", ZFS_MIMIC_HFS },
{ "apfs", ZFS_MIMIC_APFS },
{ "ntfs", ZFS_MIMIC_NTFS },
{ NULL }
};
/* __APPLE__ */
Expand Down

0 comments on commit f995b08

Please sign in to comment.