Add ddt_object_load() error handling
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 19 Jul 2012 21:50:25 +0000 (14:50 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 20 Jul 2012 17:36:21 +0000 (10:36 -0700)
commit2a4a9dc2f09d7672268af4a4f70e1a26b481b5e9
tree2cf5c8b23244c0e35751dd526d7ac5e465dd4b47
parent10be533e3344f523e1b8d6ab4f0658897a95ac02
Add ddt_object_load() error handling

Add the missing error handling to ddt_object_load().  There's no
good reason this needs to be fatal.  It is preferable that an
error be returned.  This will allow 'zpool import -FX' to safely
attempt to rollback through previous txgs looking for a good one.

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