[Bug 254530] ZFS (base) receive fails to receive zvol dataset if dataset already exist

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 16 Jun 2021 05:37:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254530

--- Comment #10 from titus m <titus@edc.ro> ---
the trailing slash is added in 
/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c in 
zfs_ioc_dataset_list_next while searching for child datasets

then in /usr/src/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c
in zfs_receive_one test for destination children will alter dataset source name

if (is_volume &&
                            ioctl(hdl->libzfs_fd, ZFS_IOC_DATASET_LIST_NEXT,
                            &zc) == 0) {

-- 
You are receiving this mail because:
You are the assignee for the bug.