aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/vdev_disk.h
diff options
context:
space:
mode:
authorJorgen Lundman <[email protected]>2020-06-17 03:43:33 +0900
committerGitHub <[email protected]>2020-06-16 11:43:33 -0700
commitd366c8fd7a163f17e8984952d8f0aeb550844e8a (patch)
treef11bf4c5d9850912dbeb088cb465c7afa0ef3998 /include/sys/vdev_disk.h
parentba54b180a5b496af29f8dd6eada3f0bd82d9b883 (diff)
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 <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Jorgen Lundman <[email protected]> Closes #10452
Diffstat (limited to 'include/sys/vdev_disk.h')
-rw-r--r--include/sys/vdev_disk.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/sys/vdev_disk.h b/include/sys/vdev_disk.h
index 908f5f326..a7e19fbf0 100644
--- a/include/sys/vdev_disk.h
+++ b/include/sys/vdev_disk.h
@@ -42,13 +42,5 @@
#ifdef _KERNEL
#include <sys/vdev.h>
-
-typedef struct vdev_disk {
- ddi_devid_t vd_devid;
- char *vd_minor;
- struct block_device *vd_bdev;
- krwlock_t vd_lock;
-} vdev_disk_t;
-
#endif /* _KERNEL */
#endif /* _SYS_VDEV_DISK_H */