mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
libzfs: teach zfs_create_ancestors() to accept properties
This will be used to support creating non-mountable ancestors in zfs(8). Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Rob Norris <robn@despairlabs.com> Signed-off-by: Ivan Shapovalov <intelfx@intelfx.name> Closes #17000
This commit is contained in:
committed by
Brian Behlendorf
parent
1eace59060
commit
2f3f1ab1ba
@@ -766,6 +766,8 @@ _LIBZFS_H void libzfs_add_handle(get_all_cb_t *, zfs_handle_t *);
|
||||
_LIBZFS_H int zfs_create(libzfs_handle_t *, const char *, zfs_type_t,
|
||||
nvlist_t *);
|
||||
_LIBZFS_H int zfs_create_ancestors(libzfs_handle_t *, const char *);
|
||||
_LIBZFS_H int zfs_create_ancestors_props(libzfs_handle_t *, const char *,
|
||||
nvlist_t *);
|
||||
_LIBZFS_H int zfs_destroy(zfs_handle_t *, boolean_t);
|
||||
_LIBZFS_H int zfs_destroy_snaps(zfs_handle_t *, char *, boolean_t);
|
||||
_LIBZFS_H int zfs_destroy_snaps_nvl(libzfs_handle_t *, nvlist_t *, boolean_t);
|
||||
|
||||
Reference in New Issue
Block a user