aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/dnode.h
diff options
context:
space:
mode:
authorAttila Fülöp <[email protected]>2021-06-24 01:57:06 +0200
committerGitHub <[email protected]>2021-06-23 17:57:06 -0600
commit1b610ae45f59bd15e75b2bb058c4d9ab552e9214 (patch)
tree8512674af613ae721b4e5ad646e3fc1f37e36df6 /include/sys/dnode.h
parent63f4b959a6826088c3eda7d17326a6bcf2f4ced8 (diff)
gcc 11 cleanup
Compiling with gcc 11.1.0 produces three new warnings. Change the code slightly to avoid them. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Matthew Ahrens <[email protected]> Signed-off-by: Attila Fülöp <[email protected]> Closes #12130 Closes #12188 Closes #12237
Diffstat (limited to 'include/sys/dnode.h')
-rw-r--r--include/sys/dnode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sys/dnode.h b/include/sys/dnode.h
index 3208b60f0..de6492bb7 100644
--- a/include/sys/dnode.h
+++ b/include/sys/dnode.h
@@ -171,7 +171,7 @@ enum dnode_dirtycontext {
* example, reading 32 dnodes from a 16k dnode block and all of the spill
* blocks could issue 33 separate reads. Now suppose those dnodes have size
* 1024 and therefore don't need spill blocks. Then the worst case number
- * of blocks read is reduced to from 33 to two--one per dnode block.
+ * of blocks read is reduced from 33 to two--one per dnode block.
*
* ZFS-on-Linux systems that make heavy use of extended attributes benefit
* from this feature. In particular, ZFS-on-Linux supports the xattr=sa
@@ -232,8 +232,8 @@ typedef struct dnode_phys {
* Both dn_pad2 and dn_pad3 are protected by the block's MAC. This
* allows us to protect any fields that might be added here in the
* future. In either case, developers will want to check
- * zio_crypt_init_uios_dnode() to ensure the new field is being
- * protected properly.
+ * zio_crypt_init_uios_dnode() and zio_crypt_do_dnode_hmac_updates()
+ * to ensure the new field is being protected and updated properly.
*/
uint64_t dn_pad3[4];