Fix the FreeBSD userspace build (#15716)

- Mark some parameters to zpool_power*() as unused.
- Add a stub zpool_disk_wait().

Fixes: a9520e6e5 ("zpool: Add slot power control, print power status")

Signed-off-by: Mark Johnston <markj@FreeBSD.org>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
This commit is contained in:
Mark Johnston
2023-12-27 15:17:53 -05:00
committed by Brian Behlendorf
parent 57da499afd
commit 4a0d86afc3
2 changed files with 15 additions and 0 deletions
@@ -261,3 +261,11 @@ void
update_vdevs_config_dev_sysfs_path(nvlist_t *config)
{
}
int
zpool_disk_wait(const char *path)
{
(void) path;
return (ENOTSUP);
}