]> granicus.if.org Git - zfs/commit
Handle zap_lookup() failure in ddt_object_load()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 18 Aug 2015 18:20:22 +0000 (11:20 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 19 Aug 2015 21:32:50 +0000 (14:32 -0700)
commitff9b1d07256c57b607cc6ad3448c1fb2487305d6
tree26a43ff28da849d0867e2a64f2e2bbe001c0e85e
parent9f5ba90f9fb0aa39de35afaf6e9f385c4ddd8865
Handle zap_lookup() failure in ddt_object_load()

Failing to lookup a name in the spa_ddt_stat_object should not result
in a panic in ddt_object_load().  The error can be safely returned to
the caller for handling resulting in a useful user error message.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3370
module/zfs/ddt.c