[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 <hutter2@llnl.gov>
This commit is contained in:
Tony Hutter 2024-11-13 09:58:26 -08:00
parent 4982943d25
commit dbeb509579

View File

@ -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); 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_read_bootenv(vdev_t *, nvlist_t *);
extern int vdev_label_write_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 { typedef enum {
VDEV_LABEL_CREATE, /* create/add a new device */ VDEV_LABEL_CREATE, /* create/add a new device */