diff options
author | Andrea Gelmini <[email protected]> | 2020-06-10 06:24:09 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-09 21:24:09 -0700 |
commit | dd4bc569b9f73e8c2445bed90d82c92d98aada03 (patch) | |
tree | 64bacc1d16199ed350783f0b9a6490fe79ed6a70 /include/os/freebsd/spl/sys | |
parent | 7bcb7f0840d1857370dd1f9ee0ad48f9b7939dfd (diff) |
Fix typos
Correct various typos in the comments and tests.
Reviewed-by: Ryan Moeller <[email protected]>
Reviewed-by: Matthew Ahrens <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Andrea Gelmini <[email protected]>
Closes #10423
Diffstat (limited to 'include/os/freebsd/spl/sys')
-rw-r--r-- | include/os/freebsd/spl/sys/callb.h | 2 | ||||
-rw-r--r-- | include/os/freebsd/spl/sys/vnode_impl.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/os/freebsd/spl/sys/callb.h b/include/os/freebsd/spl/sys/callb.h index ed9ed8cd8..cc67b0263 100644 --- a/include/os/freebsd/spl/sys/callb.h +++ b/include/os/freebsd/spl/sys/callb.h @@ -116,7 +116,7 @@ typedef struct callb_cpr { * * cp - ptr to the callb_cpr_t structure for this kernel thread * - * lockp - pointer to mutex protecting the callb_cpr_t stuct + * lockp - pointer to mutex protecting the callb_cpr_t struct * * func - pointer to the callback function for this kernel thread. * It has the prototype boolean_t <func>(void *arg, int code) diff --git a/include/os/freebsd/spl/sys/vnode_impl.h b/include/os/freebsd/spl/sys/vnode_impl.h index 78de740d9..94ec1ad4e 100644 --- a/include/os/freebsd/spl/sys/vnode_impl.h +++ b/include/os/freebsd/spl/sys/vnode_impl.h @@ -55,7 +55,7 @@ * - a 32 bit quantity (xva_mapsize) that specifies the size of the * attribute bitmaps in 32 bit words. * - A pointer to the returned attribute bitmap (needed because the - * previous element, the requested attribute bitmap) is variable lenth. + * previous element, the requested attribute bitmap) is variable length. * - The requested attribute bitmap, which is an array of 32 bit words. * Callers use the XVA_SET_REQ() macro to set the bits corresponding to * the attributes that are being requested. @@ -79,7 +79,7 @@ * attributes to be requested/returned. File systems may or may not support * optional attributes. They do so at their own discretion but if they do * support optional attributes, they must register the VFSFT_XVATTR feature - * so that the optional attributes can be set/retrived. + * so that the optional attributes can be set/retrieved. * * The fields of the xvattr structure are: * |