]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/zfs_ioctl.c
Mismatched nvlist names in zfs_keys_send_space
authorJohn Poduska <jpoduska@datto.com>
Sat, 3 Oct 2020 00:40:46 +0000 (20:40 -0400)
committerGitHub <noreply@github.com>
Sat, 3 Oct 2020 00:40:46 +0000 (17:40 -0700)
commit5b525165e9113e7faabd230b504ae4e9b85d35a5
tree500e5abe365ddfc4e84b39480cbf87a27906538e
parent266d1121c3f49da05abcbdd527bf12b5d5a06df6
Mismatched nvlist names in zfs_keys_send_space

This causes "zfs send -vt ..." to fail with:

    cannot resume send: Unknown error 1030

It turns out that some of the name/value pairs in the verification
list for zfs_ioc_send_space(), zfs_keys_send_space, had the wrong
name, so the ioctl got kicked out in zfs_check_input_nvpairs().
Update the names accordingly.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: John Poduska <jpoduska@datto.com>
Closes #10978
module/zfs/zfs_ioctl.c
tests/zfs-tests/tests/functional/rsend/rsend.kshlib
tests/zfs-tests/tests/functional/rsend/rsend_024_pos.ksh