Skip to content

Commit

Permalink
macOS: struct vdev changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lundman committed Mar 1, 2021
1 parent 8773b9a commit d81ad0e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions module/os/macos/zfs/vdev_disk.c
Original file line number Diff line number Diff line change
Expand Up @@ -715,8 +715,8 @@ vdev_ops_t vdev_disk_ops = {
.vdev_op_config_generate = NULL,
.vdev_op_nparity = NULL,
.vdev_op_ndisks = NULL,
.vdev_op_type = VDEV_TYPE_DISK, /* name of this vdev type */
.vdev_op_leaf = B_TRUE /* leaf vdev */
.vdev_op_type = VDEV_TYPE_DISK, /* name of this vdev type */
.vdev_op_leaf = B_TRUE /* leaf vdev */
};

/*
Expand Down
8 changes: 4 additions & 4 deletions module/os/macos/zfs/vdev_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,8 @@ vdev_ops_t vdev_file_ops = {
.vdev_op_config_generate = NULL,
.vdev_op_nparity = NULL,
.vdev_op_ndisks = NULL,
.vdev_op_type = VDEV_TYPE_FILE, /* name of this vdev type */
.vdev_op_leaf = B_TRUE /* leaf vdev */
.vdev_op_type = VDEV_TYPE_FILE, /* name of this vdev type */
.vdev_op_leaf = B_TRUE /* leaf vdev */
};

void
Expand Down Expand Up @@ -328,8 +328,8 @@ vdev_ops_t vdev_disk_ops = {
.vdev_op_config_generate = NULL,
.vdev_op_nparity = NULL,
.vdev_op_ndisks = NULL,
.vdev_op_type = VDEV_TYPE_DISK, /* name of this vdev type */
.vdev_op_leaf = B_TRUE /* leaf vdev */
.vdev_op_type = VDEV_TYPE_DISK, /* name of this vdev type */
.vdev_op_leaf = B_TRUE /* leaf vdev */
};

#endif

0 comments on commit d81ad0e

Please sign in to comment.