/[base]
ViewVC logotype

Revision 368491


Jump to revision: Previous Next
Author: asomers
Date: Wed Dec 9 20:06:37 2020 UTC (3 years, 6 months ago)
Changed paths: 1
Log Message:
ZFS: fix spurious EBUSY after zfs receive to an existing dataset

If you do a "zfs send -p <src> | zfs receive -F <dst>" to an existing but
empty dataset, the receive will complete successfully but spuriously fail
with exit status 1 and the message "cannot mount 'pool/dataset': mountpoint
or dataset is busy".

The root cause is a merge error made in r344569 and MFCed in r345578, which
merged changes a10d50f999 and e63ac16d25 from ZoL.  The merge:
* failed to flip a == to an != like the upstream change did, and
* Left out one chunk

Direct commit to stable/12 because head has moved on to OpenZFS.

PR:		251694
Reviewed by:	bapt
Sponsored by:	Axcient


Changed paths

Path Details
Directorystable/12/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27