diff options
author | Roman Strashkin <[email protected]> | 2016-07-12 20:53:53 +0300 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-07-15 15:34:46 -0700 |
commit | 1b87e0f53249a17f2fbb1d5ca725e65add391ace (patch) | |
tree | 22a45ad7198504860e5d216766e84f739e5b2b45 /module/zfs/zfs_byteswap.c | |
parent | 35a76a0366372d89a0f1ac3cebd5bc7646aadec3 (diff) |
Fix filesystem destroy with receive_resume_token
It is possible that the given DS may have hidden child (%recv)
datasets - "leftovers" resulting from the previously interrupted
'zfs receieve'. Try to remove the hidden child (%recv) and after
that try to remove the target dataset. If the hidden child
(%recv) does not exist the original error (EEXIST) will be returned.
Signed-off-by: Roman Strashkin <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #4818
Diffstat (limited to 'module/zfs/zfs_byteswap.c')
0 files changed, 0 insertions, 0 deletions