diff options
author | Dmitry Khasanov <[email protected]> | 2013-07-05 17:44:53 +0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-07-09 15:42:27 -0700 |
commit | 51a3ae72d23d89d35a4a67059b39e870d66a2495 (patch) | |
tree | dc5c87715c7c6af02d3a68dba9af520ebbfbf047 /lib/libzfs/libzfs_pool.c | |
parent | 50210587563bb37c48d2624d11e158ab3ad30715 (diff) |
Readd zpool_clear_label() from OpenSolaris
This patch restores the zpool_clear_label() function from
OpenSolaris. This was removed by commit d603ed6 because
it wasn't clear we had a use for it in ZoL. However, this
functionality is a prerequisite for adding the 'zpool labelclear'
command from FreeBSD.
As part of bringing this change in the zpool_clear_label()
function was changed to use fstat64_blk(2) for compatibility
with Linux.
Signed-off-by: Brian Behlendorf <[email protected]>
Issue #1126
Diffstat (limited to 'lib/libzfs/libzfs_pool.c')
0 files changed, 0 insertions, 0 deletions