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/spa.c b/module/zfs/spa.c index f1b40c2318..47f5ed30c2 100644 --- a/module/zfs/spa.c +++ b/module/zfs/spa.c @@ -4357,9 +4357,6 @@ EXPORT_SYMBOL(spa_l2cache_space_update); /* scrubbing */ EXPORT_SYMBOL(spa_scrub); -EXPORT_SYMBOL(spa_scrub_suspend); -EXPORT_SYMBOL(spa_scrub_resume); -EXPORT_SYMBOL(spa_scrub_restart); /* spa syncing */ EXPORT_SYMBOL(spa_sync); /* only for DMU use */ 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; }