mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-19 19:01:00 +03:00
97bbeeb938
zfs send -R -i snap1 pool/ds@snap1 is an invalid invocation of zfs send because the incremental source and target snapshots are the same. We have an error message for this condition, but we don't make it there because of a failed assert while iterating through the dataset's snapshots. Check for NULL to avoid the assert so we can make it to the error message. Test this form of invalid send invocation in rsend tests. Fix the rsend_016_neg test while here: log_neg itself doesn't fail the test, and writing to /dev/null is not supported on all Linux kernels. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: John Kennedy <john.kennedy@delphix.com> Reviewed-by: Paul Dagnelie <pcd@delphix.com> Signed-off-by: Ryan Moeller <ryan@iXsystems.com> Closes #11121 Closes #12533 |
||
---|---|---|
.. | ||
libavl | ||
libefi | ||
libicp | ||
libnvpair | ||
libshare | ||
libspl | ||
libtpool | ||
libunicode | ||
libuutil | ||
libzfs | ||
libzfs_core | ||
libzfsbootenv | ||
libzpool | ||
libzstd | ||
libzutil | ||
Makefile.am |