aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/dmu_object.c
diff options
context:
space:
mode:
authorMatthew Ahrens <[email protected]>2017-08-29 09:00:28 -0700
committerBrian Behlendorf <[email protected]>2017-08-29 09:00:28 -0700
commit1e0457e7f5384b0328ea499083120dd191d80c90 (patch)
treebfec0cf6d82ae4d14c670350c25989958f004d13 /module/zfs/dmu_object.c
parent2209e40981e887c773914ec0f3b73cedf45ddb7d (diff)
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 <[email protected]> Reviewed-by: Giuseppe Di Natale <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: George Wilson <[email protected]> Signed-off-by: Matt Ahrens <[email protected]> Closes #6551
Diffstat (limited to 'module/zfs/dmu_object.c')
-rw-r--r--module/zfs/dmu_object.c2
1 files changed, 1 insertions, 1 deletions
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;