Skip to content

Commit

Permalink
Remove macOS members from zfsvfs
Browse files Browse the repository at this point in the history
Signed-off-by: Jorgen Lundman <[email protected]>
  • Loading branch information
lundman committed Nov 8, 2023
1 parent f0e86b4 commit f64376a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
10 changes: 0 additions & 10 deletions include/os/windows/zfs/sys/zfs_vfsops_os.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,6 @@ struct zfsvfs {
avl_tree_t z_hardlinks; /* linkid hash avl tree for vget */
avl_tree_t z_hardlinks_linkid; /* sorted on linkid */
krwlock_t z_hardlinks_lock; /* lock to access z_hardlinks */

uint64_t z_notification_conditions; /* HFSIOC_VOLUME_STATUS */
uint64_t z_freespace_notify_warninglimit;
uint64_t z_freespace_notify_dangerlimit;
uint64_t z_freespace_notify_desiredlevel;

void *z_devdisk; /* Hold fake disk if prop devdisk is on */

uint64_t z_findernotify_space;

#endif
uint64_t z_replay_eof; /* New end of file - replay only */
sa_attr_type_t *z_attr_table; /* SA attr mapping->id */
Expand Down
6 changes: 0 additions & 6 deletions module/os/windows/zfs/zfs_vfsops.c
Original file line number Diff line number Diff line change
Expand Up @@ -591,12 +591,6 @@ zfsvfs_init(zfsvfs_t *zfsvfs, objset_t *os)
zfsvfs->z_show_ctldir = ZFS_SNAPDIR_VISIBLE;
zfsvfs->z_os = os;

/* Volume status "all ok" */
zfsvfs->z_notification_conditions = 0;
zfsvfs->z_freespace_notify_warninglimit = 0;
zfsvfs->z_freespace_notify_dangerlimit = 0;
zfsvfs->z_freespace_notify_desiredlevel = 0;

error = zfs_get_zplprop(os, ZFS_PROP_VERSION, &zfsvfs->z_version);
if (error != 0)
return (error);
Expand Down

0 comments on commit f64376a

Please sign in to comment.