aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2020-08-20 01:31:21 +0000
committerAlan Somers <asomers@FreeBSD.org>2020-08-20 01:31:21 +0000
commit02fa3d2963a4e19c270d689af7bd1980e4d53e08 (patch)
tree332db636d41f4a16c17d90063d54d8c5d7545de2 /cddl/contrib
parent72c7f24c8d2d136757bb30366d65b7e68943994d (diff)
downloadsrc-02fa3d2963a4e19c270d689af7bd1980e4d53e08.tar.gz
src-02fa3d2963a4e19c270d689af7bd1980e4d53e08.zip
Notes
Diffstat (limited to 'cddl/contrib')
-rw-r--r--cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c b/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c
index 71a951027b30..2e2e1020ad8a 100644
--- a/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c
+++ b/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c
@@ -3434,7 +3434,7 @@ zfs_receive_one(libzfs_handle_t *hdl, int infd, const char *tosnap,
}
if (!flags->dryrun && zhp->zfs_type == ZFS_TYPE_FILESYSTEM &&
- stream_wantsnewfs) {
+ (stream_wantsnewfs || resuming)) {
/* We can't do online recv in this case */
clp = changelist_gather(zhp, ZFS_PROP_NAME, 0,
flags->forceunmount ? MS_FORCE : 0);