diff --git a/module/zfs/include/sys/vdev_disk.h b/module/zfs/include/sys/vdev_disk.h index 38abf2e419..3d5ec0eb89 100644 --- a/module/zfs/include/sys/vdev_disk.h +++ b/module/zfs/include/sys/vdev_disk.h @@ -18,7 +18,6 @@ typedef struct vdev_disk { } vdev_disk_t; extern int vdev_disk_physio(ldi_handle_t, caddr_t, size_t, uint64_t, int); -extern nvlist_t *vdev_disk_read_rootlabel(char *devpath); #endif diff --git a/module/zfs/vdev_disk.c b/module/zfs/vdev_disk.c index 19cef7339f..3e451525fa 100644 --- a/module/zfs/vdev_disk.c +++ b/module/zfs/vdev_disk.c @@ -639,7 +639,7 @@ vdev_disk_io_done(zio_t *zio) } nvlist_t * -vdev_disk_read_rootlabel(char *devpath) +vdev_disk_read_rootlabel(char *devpath, char *devid, nvlist_t **config) { return NULL; }