mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-29 18:24:11 +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
@@ -4947,7 +4947,7 @@ zfs_receive_one(libzfs_handle_t *hdl, int infd, const char *tosnap,
|
||||
*cp = '\0';
|
||||
|
||||
if (flags->isprefix && !flags->istail && !flags->dryrun &&
|
||||
create_parents(hdl, destsnap, strlen(tosnap)) != 0) {
|
||||
create_parents(hdl, destsnap, strlen(tosnap), NULL) != 0) {
|
||||
err = zfs_error(hdl, EZFS_BADRESTORE, errbuf);
|
||||
goto out;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user