]> git.proxmox.com Git - mirror_zfs.git/blobdiff - module/zfs/vdev_mirror.c
OpenZFS 9102 - zfs should be able to initialize storage devices
[mirror_zfs.git] / module / zfs / vdev_mirror.c
index 65357d841805917876d023afe444cf9a118e5809..b45c05db28a45ff95a963350ad214b896670178a 100644 (file)
@@ -740,6 +740,7 @@ vdev_ops_t vdev_mirror_ops = {
        NULL,
        NULL,
        NULL,
+       vdev_default_xlate,
        VDEV_TYPE_MIRROR,       /* name of this vdev type */
        B_FALSE                 /* not a leaf vdev */
 };
@@ -755,6 +756,7 @@ vdev_ops_t vdev_replacing_ops = {
        NULL,
        NULL,
        NULL,
+       vdev_default_xlate,
        VDEV_TYPE_REPLACING,    /* name of this vdev type */
        B_FALSE                 /* not a leaf vdev */
 };
@@ -770,6 +772,7 @@ vdev_ops_t vdev_spare_ops = {
        NULL,
        NULL,
        NULL,
+       vdev_default_xlate,
        VDEV_TYPE_SPARE,        /* name of this vdev type */
        B_FALSE                 /* not a leaf vdev */
 };