mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-02-06 07:13:25 +03:00
[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:
parent
4982943d25
commit
dbeb509579
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user