]> git.proxmox.com Git - mirror_zfs.git/commit - lib/libzfs/libzfs_sendrecv.c
send_iterate_snap : doall send without fromsnap
authorCedric Maunoury <38213715+cedricmaunoury@users.noreply.github.com>
Wed, 24 Feb 2021 17:48:58 +0000 (18:48 +0100)
committerGitHub <noreply@github.com>
Wed, 24 Feb 2021 17:48:58 +0000 (09:48 -0800)
commitb9c07ec71b205c034e63f34fa3546437ea766b3b
tree1a3f800327f72bc444ab00e6e877b17a5ec6d884
parent9312e0fd1e162094ba2470408878879fa24eeaf7
send_iterate_snap : doall send without fromsnap

The behavior of a NULL fromsnap was inadvertently changed for a doall
send when the send/recv logic in libzfs was updated.  Restore the
previous behavior by correcting send_iterate_snap() to include all
the snapshots in the nvlist for this case.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Cedric Maunoury <cedric.maunoury@gmail.com>
Closes #11608
configure.ac
lib/libzfs/libzfs_sendrecv.c
tests/runfiles/common.run
tests/zfs-tests/cmd/Makefile.am
tests/zfs-tests/cmd/send_doall/.gitignore [new file with mode: 0644]
tests/zfs-tests/cmd/send_doall/Makefile.am [new file with mode: 0644]
tests/zfs-tests/cmd/send_doall/send_doall.c [new file with mode: 0644]
tests/zfs-tests/include/commands.cfg
tests/zfs-tests/tests/functional/rsend/Makefile.am
tests/zfs-tests/tests/functional/rsend/send_doall.ksh [new file with mode: 0755]