mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
Fix typos in lib/
Reviewed-by: Ryan Moeller <ryan@ixsystems.com> Reviewed-by: Richard Laager <rlaager@wiktel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net> Closes #9237
This commit is contained in:
committed by
Tony Hutter
parent
7572926bc5
commit
6673ef3f6f
@@ -37,7 +37,7 @@
|
||||
pthread_mutex_t atomic_lock = PTHREAD_MUTEX_INITIALIZER;
|
||||
|
||||
/*
|
||||
* Theses are the void returning variants
|
||||
* These are the void returning variants
|
||||
*/
|
||||
/* BEGIN CSTYLED */
|
||||
#define ATOMIC_INC(name, type) \
|
||||
|
||||
@@ -79,7 +79,7 @@ extern void atomic_add_64(volatile uint64_t *, int64_t);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Substract delta from target
|
||||
* Subtract delta from target
|
||||
*/
|
||||
extern void atomic_sub_8(volatile uint8_t *, int8_t);
|
||||
extern void atomic_sub_char(volatile uchar_t *, signed char);
|
||||
@@ -173,7 +173,7 @@ extern uint64_t atomic_add_64_nv(volatile uint64_t *, int64_t);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Substract delta from target
|
||||
* Subtract delta from target
|
||||
*/
|
||||
extern uint8_t atomic_sub_8_nv(volatile uint8_t *, int8_t);
|
||||
extern uchar_t atomic_sub_char_nv(volatile uchar_t *, signed char);
|
||||
|
||||
@@ -82,7 +82,7 @@ typedef struct kstat {
|
||||
void *ks_data; /* kstat type-specific data */
|
||||
uint_t ks_ndata; /* # of type-specific data records */
|
||||
size_t ks_data_size; /* total size of kstat data section */
|
||||
hrtime_t ks_snaptime; /* time of last data shapshot */
|
||||
hrtime_t ks_snaptime; /* time of last data snapshot */
|
||||
/*
|
||||
* Fields relevant to kernel only
|
||||
*/
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
* with smaller units (fragments) only in the last direct block.
|
||||
* MAXBSIZE primarily determines the size of buffers in the buffer
|
||||
* pool. It may be made larger without any effect on existing
|
||||
* file systems; however making it smaller make make some file
|
||||
* file systems; however making it smaller may make some file
|
||||
* systems unmountable.
|
||||
*
|
||||
* Note that the blocked devices are assumed to have DEV_BSIZE
|
||||
|
||||
@@ -75,7 +75,7 @@ typedef enum xuio_type {
|
||||
|
||||
typedef struct uioa_page_s { /* locked uio_iov state */
|
||||
int uioa_pfncnt; /* count of pfn_t(s) in *uioa_ppp */
|
||||
void **uioa_ppp; /* page_t or pfn_t arrary */
|
||||
void **uioa_ppp; /* page_t or pfn_t array */
|
||||
caddr_t uioa_base; /* address base */
|
||||
size_t uioa_len; /* span length */
|
||||
} uioa_page_t;
|
||||
|
||||
@@ -51,7 +51,7 @@ extern "C" {
|
||||
* v_sanity returned as VTOC_SANE
|
||||
* if Disk Label was sane
|
||||
* v_sectorsz returned as 512
|
||||
* v_reserved [all] retunred as zero
|
||||
* v_reserved [all] returned as zero
|
||||
* timestamp [all] returned as zero
|
||||
*
|
||||
* See dklabel.h, read_vtoc(), and write_vtoc().
|
||||
|
||||
+1
-1
@@ -128,7 +128,7 @@ mkdirp(const char *d, mode_t mode)
|
||||
* caller, or NULL is returned on error.
|
||||
*
|
||||
* The caller should handle error reporting based upon the
|
||||
* returned vlaue, and should free the returned value,
|
||||
* returned value, and should free the returned value,
|
||||
* when appropriate.
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user