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 /module/zfs/arc.c | |
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 'module/zfs/arc.c')
0 files changed, 0 insertions, 0 deletions