]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix error merging r354116 from OpenZFS
authorAlan Somers <asomers@FreeBSD.org>
Tue, 1 Dec 2020 15:15:18 +0000 (15:15 +0000)
committerAlan Somers <asomers@FreeBSD.org>
Tue, 1 Dec 2020 15:15:18 +0000 (15:15 +0000)
commit861515418ac385f4198c38c28f6203135d72e651
treea5d13cd724b8c19a0310c2982dfe24279d5fac36
parent881fd738b48590edde09620c565aa2c2865c05bb
Fix error merging r354116 from OpenZFS

When we merged 4c0883fb4af0d5565459099b98fcf90ecbfa1ca1 from OpenZFS (svn
r354116), there were some merge conflicts.  One of those was resolved
incorrectly, causing "zfs receive" to fail to delete snapshots that a "zfs
send -R" stream has deleted.

This change corrects that merge conflict, and also reduces some harmless
diffs vis-a-vis OpenZFS that were also introduced by the same revision.
Direct commit to stable/12 because head has moved on to OpenZFS.

PR: 249438
Reported by: Dmitry Wagin <dmitry.wagin@ya.ru>
Reviewed by: mmacy
Sponsored by: Axcient
cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c
sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h