diff options
author | Ryan Moeller <[email protected]> | 2020-09-30 16:19:49 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2020-09-30 13:19:49 -0700 |
commit | c0bd2e0fe206791242d467b6f84789bf08c3a118 (patch) | |
tree | 7da4b6764fde98a8b300c0a4c298eb7a2d7e6a96 /configure.ac | |
parent | 68cdafdbb8c3515328cedd351b471e1bb918bd27 (diff) |
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 <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #10919
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 471fcfcec..8a30ac6b9 100644 --- a/configure.ac +++ b/configure.ac @@ -204,6 +204,7 @@ AC_CONFIG_FILES([ tests/zfs-tests/Makefile tests/zfs-tests/callbacks/Makefile tests/zfs-tests/cmd/Makefile + tests/zfs-tests/cmd/badsend/Makefile tests/zfs-tests/cmd/btree_test/Makefile tests/zfs-tests/cmd/chg_usr_exec/Makefile tests/zfs-tests/cmd/devname2devid/Makefile |