]> git.proxmox.com Git - mirror_zfs.git/commit - module/os/linux/zfs/vdev_disk.c
Make struct vdev_disk_t be platform private
authorJorgen Lundman <lundman@lundman.net>
Tue, 16 Jun 2020 18:43:33 +0000 (03:43 +0900)
committerGitHub <noreply@github.com>
Tue, 16 Jun 2020 18:43:33 +0000 (11:43 -0700)
commitd366c8fd7a163f17e8984952d8f0aeb550844e8a
treef11bf4c5d9850912dbeb088cb465c7afa0ef3998
parentba54b180a5b496af29f8dd6eada3f0bd82d9b883
Make struct vdev_disk_t be platform private

Linux defines different vdev_disk_t members to macOS, but they are
only used in vdev_disk.c so move the declaration there.

Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Jorgen Lundman <lundman@lundman.net>
Closes #10452
include/sys/vdev_disk.h
module/os/linux/zfs/vdev_disk.c