From 1e0457e7f5384b0328ea499083120dd191d80c90 Mon Sep 17 00:00:00 2001 From: Matthew Ahrens Date: Tue, 29 Aug 2017 09:00:28 -0700 Subject: Enhance comments for large dnode project Fix a few nits in the comments from large dnodes. Also import some of the commit message as a comment in the code, making it more accessible. Reviewed-by: @rottegift Reviewed-by: George Melikov Reviewed-by: Giuseppe Di Natale Reviewed-by: Brian Behlendorf Reviewed-by: George Wilson Signed-off-by: Matt Ahrens Closes #6551 --- module/zfs/dmu_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/zfs/dmu_object.c') diff --git a/module/zfs/dmu_object.c b/module/zfs/dmu_object.c index 14264ec30..38ce6746e 100644 --- a/module/zfs/dmu_object.c +++ b/module/zfs/dmu_object.c @@ -318,7 +318,7 @@ dmu_object_next(objset_t *os, uint64_t *objectp, boolean_t hole, uint64_t txg) dmu_object_info_t doi; error = dmu_object_info(os, i, &doi); - if (error) + if (error != 0) skip = 1; else skip = doi.doi_dnodesize >> DNODE_SHIFT; -- cgit v1.2.3