diff options
author | Dmitry Khasanov <[email protected]> | 2013-07-05 18:01:44 +0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-07-09 15:58:05 -0700 |
commit | 131cc95ca78b8552c13555d2cded791808008ff3 (patch) | |
tree | 90018a1dc98bcc07bcf98f1cb15bc5672409ee15 /lib/libzfs/libzfs_import.c | |
parent | 51a3ae72d23d89d35a4a67059b39e870d66a2495 (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 'lib/libzfs/libzfs_import.c')
-rw-r--r-- | lib/libzfs/libzfs_import.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libzfs/libzfs_import.c b/lib/libzfs/libzfs_import.c index 58b6043be..de9851e60 100644 --- a/lib/libzfs/libzfs_import.c +++ b/lib/libzfs/libzfs_import.c @@ -902,8 +902,8 @@ zpool_read_label(int fd, nvlist_t **config) /* * Given a file descriptor, clear (zero) the label information. This function - * is currently only used in the appliance stack as part of the ZFS sysevent - * module. + * is used in the appliance stack as part of the ZFS sysevent module and + * to implement the "zpool labelclear" command. */ int zpool_clear_label(int fd) |