diff options
Diffstat (limited to 'module/zfs')
-rw-r--r-- | module/zfs/ddt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/module/zfs/ddt.c b/module/zfs/ddt.c index 7279f1d5d..18c6cef5a 100644 --- a/module/zfs/ddt.c +++ b/module/zfs/ddt.c @@ -120,7 +120,9 @@ ddt_object_load(ddt_t *ddt, enum ddt_type type, enum ddt_class class) /* * Seed the cached statistics. */ - VERIFY(ddt_object_info(ddt, type, class, &doi) == 0); + error = ddt_object_info(ddt, type, class, &doi); + if (error) + return (error); ddo->ddo_count = ddt_object_count(ddt, type, class); ddo->ddo_dspace = doi.doi_physical_blocks_512 << 9; |