Source

zfs-tools / bin / zfs_safe_destroy

Full commit