HomeFreeBSD

Fix handling of errors nvlist in zfs_ioc_recv_new()

Description

Fix handling of errors nvlist in zfs_ioc_recv_new()

zfs_ioc_recv_impl() is changed to always allocate the 'errors'
nvlist, its callers are responsible for freeing it.

Signed-off-by: Gvozden Neskovic <neskovic@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4829

Details

Provenance
Gvozden Neskovic <neskovic@gmail.com>Authored on Jul 9 2016, 4:37 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jul 13 2016, 5:20 PM
Parents
rG81edd3e83409: Fix PANIC: metaslab_free_dva(): bad DVA X:Y:Z
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG1bf3bf0e2986: Fix handling of errors nvlist in zfs_ioc_recv_new() (authored by Gvozden Neskovic <neskovic@gmail.com>).Jul 13 2016, 5:20 PM