mirror_zfs/tests/zfs-tests/cmd
Ryan Moeller c0bd2e0fe2
Drop references when skipping dmu_send due to EXDEV
When an invalid incremental send is requested where the "to" ds is
before the "from" ds, make sure to drop the reference to the pool
and the dataset before returning the error.

Add an assert on FreeBSD to make sure we don't hold any locks after
returning from an ioctl.

Add some test coverage.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #10919
2020-09-30 13:19:49 -07:00
..
badsend Drop references when skipping dmu_send due to EXDEV 2020-09-30 13:19:49 -07:00
btree_test Unconditionally enable debugging for libzpool 2020-07-10 15:30:31 -07:00
chg_usr_exec
devname2devid ZTS: Fix devname2devid build on FreeBSD with libudev 2020-07-22 10:49:22 -07:00
dir_rd_update
file_check
file_trunc
file_write Mark functions as static 2020-06-18 12:20:38 -07:00
get_diff Add missing .gitignore from "Implement Redacted Send/Receive" 2019-06-23 11:51:29 -07:00
largest_file OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
libzfs_input_check zfs label bootenv should store data as nvlist 2020-09-15 15:42:27 -07:00
mkbusy Fix typos 2020-06-09 21:24:09 -07:00
mkfile Add config.rpath for AM_GNU_GETTEXT 2020-07-10 14:26:12 -07:00
mkfiles Update ZTS to work on FreeBSD 2019-12-18 12:29:43 -08:00
mktree Update ZTS to work on FreeBSD 2019-12-18 12:29:43 -08:00
mmap_exec
mmap_libaio Clean up lib dependencies 2020-07-10 14:26:00 -07:00
mmapwrite Fix typos in tests/ 2019-09-02 18:14:53 -07:00
nvlist_to_lua Use abs_top_builddir when referencing libraries 2020-07-10 14:26:32 -07:00
randfree_file
randwritecomp
readmmap
rename_dir
rm_lnkcnt_zero_file Prefer for (;;) to while (TRUE) 2019-08-28 10:38:40 -07:00
stride_dd
threadsappend
user_ns_exec
xattrtest
file_common.h
Makefile.am Drop references when skipping dmu_send due to EXDEV 2020-09-30 13:19:49 -07:00