summaryrefslogtreecommitdiffstats
path: root/include/libzfs.h
diff options
context:
space:
mode:
authorDmitry Khasanov <[email protected]>2013-07-05 18:01:44 +0700
committerBrian Behlendorf <[email protected]>2013-07-09 15:58:05 -0700
commit131cc95ca78b8552c13555d2cded791808008ff3 (patch)
tree90018a1dc98bcc07bcf98f1cb15bc5672409ee15 /include/libzfs.h
parent51a3ae72d23d89d35a4a67059b39e870d66a2495 (diff)
Add FreeBSD 'zpool labelclear' command
The FreeBSD implementation of zfs adds the 'zpool labelclear' command. Since this functionality is helpful and straight forward to add it is being included in ZoL. References: freebsd/freebsd@119a041dc9230275239a8de68c534c0754181e7e Ported-by: Dmitry Khasanov <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #1126
Diffstat (limited to 'include/libzfs.h')
-rw-r--r--include/libzfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libzfs.h b/include/libzfs.h
index 82cb66ab5..3472b7699 100644
--- a/include/libzfs.h
+++ b/include/libzfs.h
@@ -212,6 +212,7 @@ extern void zpool_close(zpool_handle_t *);
extern const char *zpool_get_name(zpool_handle_t *);
extern int zpool_get_state(zpool_handle_t *);
extern char *zpool_state_to_name(vdev_state_t, vdev_aux_t);
+extern const char *zpool_pool_state_to_name(pool_state_t);
extern void zpool_free_handles(libzfs_handle_t *);
/*