From dbeb5095798653d8f3200980ce75d7426ff27561 Mon Sep 17 00:00:00 2001 From: Tony Hutter Date: Wed, 13 Nov 2024 09:58:26 -0800 Subject: [PATCH] [zfs-2.2.7] Add vdev_check_boot_reserve() to vdev.h Add vdev_check_boot_reserve() to vdev.h for zfs-2.2.7 compatibility. Signed-off-by: Tony Hutter --- include/sys/vdev.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/sys/vdev.h b/include/sys/vdev.h index 03e1f438a..05d18a36c 100644 --- a/include/sys/vdev.h +++ b/include/sys/vdev.h @@ -204,6 +204,7 @@ extern void vdev_label_write(zio_t *zio, vdev_t *vd, int l, abd_t *buf, uint64_t offset, uint64_t size, zio_done_func_t *done, void *priv, int flags); extern int vdev_label_read_bootenv(vdev_t *, nvlist_t *); extern int vdev_label_write_bootenv(vdev_t *, nvlist_t *); +extern int vdev_check_boot_reserve(spa_t *, vdev_t *); typedef enum { VDEV_LABEL_CREATE, /* create/add a new device */