diff options
author | Adam Stevko <[email protected]> | 2016-05-09 14:03:18 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-05-11 11:49:37 -0700 |
commit | 2a8b84b747cb27a175aa3a45b8cdb293cde31886 (patch) | |
tree | 36698cee9684d649e0073c9d31efcdc6aef24e7d /include/libzfs.h | |
parent | f00828e5d94d4ee386d362aee4e1b37900b1322c (diff) |
OpenZFS 3993, 4700
3993 zpool(1M) and zfs(1M) should support -p for "list" and "get"
4700 "zpool get" doesn't support -H or -o options
Reviewed by: Dan McDonald <[email protected]>
Reviewed by: Matthew Ahrens <[email protected]>
Approved by: Robert Mustacchi <[email protected]>
Ported by: Tony Hutter <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
OpenZFS-issue: https://www.illumos.org/issues/3993
OpenZFS-issue: https://www.illumos.org/issues/4700
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/c58b352
Porting notes:
I removed ZoL's zpool_get_prop_literal() in favor of
zpool_get_prop(..., boolean_t literal) since that's what OpenZFS
uses. The functionality is the same.
Diffstat (limited to 'include/libzfs.h')
-rw-r--r-- | include/libzfs.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/libzfs.h b/include/libzfs.h index 4b3fab83f..3faee0add 100644 --- a/include/libzfs.h +++ b/include/libzfs.h @@ -287,8 +287,6 @@ extern int zpool_label_disk(libzfs_handle_t *, zpool_handle_t *, char *); */ extern int zpool_set_prop(zpool_handle_t *, const char *, const char *); extern int zpool_get_prop(zpool_handle_t *, zpool_prop_t, char *, - size_t proplen, zprop_source_t *); -extern int zpool_get_prop_literal(zpool_handle_t *, zpool_prop_t, char *, size_t proplen, zprop_source_t *, boolean_t literal); extern uint64_t zpool_get_prop_int(zpool_handle_t *, zpool_prop_t, zprop_source_t *); |