mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Fix various typos
Correct an assortment of typos throughout the code base. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Matthew Ahrens <mahrens@delphix.com> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net> Closes #11774
This commit is contained in:
committed by
Brian Behlendorf
parent
943df59ed9
commit
bf169e9f15
@@ -306,7 +306,7 @@ void
|
||||
abd_free_linear_page(abd_t *abd)
|
||||
{
|
||||
/*
|
||||
* FreeBSD does not have have scatter linear pages
|
||||
* FreeBSD does not have scatter linear pages
|
||||
* so there is an error.
|
||||
*/
|
||||
VERIFY(0);
|
||||
|
||||
@@ -3577,7 +3577,7 @@ zfs_symlink(znode_t *dzp, const char *name, vattr_t *vap,
|
||||
|
||||
/*
|
||||
* Create a new object for the symlink.
|
||||
* for version 4 ZPL datsets the symlink will be an SA attribute
|
||||
* for version 4 ZPL datasets the symlink will be an SA attribute
|
||||
*/
|
||||
zfs_mknode(dzp, vap, tx, cr, 0, &zp, &acl_ids);
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
* Similarly to ZIL blocks, the core part of each dnode_phys_t needs to be left
|
||||
* in plaintext for scrubbing and claiming, but the bonus buffers might contain
|
||||
* sensitive user data. The function zio_crypt_init_uios_dnode() handles parsing
|
||||
* which which pieces of the block need to be encrypted. For more details about
|
||||
* which pieces of the block need to be encrypted. For more details about
|
||||
* dnode authentication and encryption, see zio_crypt_init_uios_dnode().
|
||||
*
|
||||
* OBJECT SET AUTHENTICATION:
|
||||
|
||||
@@ -761,7 +761,7 @@ zvol_cdev_read(struct cdev *dev, struct uio *uio_s, int ioflag)
|
||||
volsize = zv->zv_volsize;
|
||||
/*
|
||||
* uio_loffset == volsize isn't an error as
|
||||
* its required for EOF processing.
|
||||
* it's required for EOF processing.
|
||||
*/
|
||||
if (zfs_uio_resid(&uio) > 0 &&
|
||||
(zfs_uio_offset(&uio) < 0 || zfs_uio_offset(&uio) > volsize))
|
||||
|
||||
@@ -3140,7 +3140,7 @@ top:
|
||||
|
||||
/*
|
||||
* Create a new object for the symlink.
|
||||
* for version 4 ZPL datsets the symlink will be an SA attribute
|
||||
* for version 4 ZPL datasets the symlink will be an SA attribute
|
||||
*/
|
||||
zfs_mknode(dzp, vap, tx, cr, 0, &zp, &acl_ids);
|
||||
|
||||
|
||||
@@ -217,7 +217,7 @@ zfs_znode_fini(void)
|
||||
* created or destroyed. This kind of locking would normally reside in the
|
||||
* znode itself but in this case that's impossible because the znode and SA
|
||||
* buffer may not yet exist. Therefore the locking is handled externally
|
||||
* with an array of mutexs and AVLs trees which contain per-object locks.
|
||||
* with an array of mutexes and AVLs trees which contain per-object locks.
|
||||
*
|
||||
* In zfs_znode_hold_enter() a per-object lock is created as needed, inserted
|
||||
* in to the correct AVL tree and finally the per-object lock is held. In
|
||||
|
||||
@@ -115,7 +115,7 @@
|
||||
* Similarly to ZIL blocks, the core part of each dnode_phys_t needs to be left
|
||||
* in plaintext for scrubbing and claiming, but the bonus buffers might contain
|
||||
* sensitive user data. The function zio_crypt_init_uios_dnode() handles parsing
|
||||
* which which pieces of the block need to be encrypted. For more details about
|
||||
* which pieces of the block need to be encrypted. For more details about
|
||||
* dnode authentication and encryption, see zio_crypt_init_uios_dnode().
|
||||
*
|
||||
* OBJECT SET AUTHENTICATION:
|
||||
|
||||
Reference in New Issue
Block a user