diff options
author | pfg <pfg@FreeBSD.org> | 2016-04-29 20:51:24 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2016-04-29 20:51:24 +0000 |
commit | 9ed8e933a363f67081dec54601b6262db2a57437 (patch) | |
tree | 439baeed0963a2368c6a5227d4b802e8437ee794 /sys | |
parent | 9c151ad3217629d12fe291027e5f4c831d397025 (diff) | |
download | FreeBSD-src-9ed8e933a363f67081dec54601b6262db2a57437.zip FreeBSD-src-9ed8e933a363f67081dec54601b6262db2a57437.tar.gz |
sys/fs: spelling fixes in comments.
No functional change.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/fs/fuse/fuse_io.c | 4 | ||||
-rw-r--r-- | sys/fs/fuse/fuse_vnops.c | 8 | ||||
-rw-r--r-- | sys/fs/msdosfs/msdosfs_conv.c | 2 | ||||
-rw-r--r-- | sys/fs/msdosfs/msdosfs_fat.c | 2 | ||||
-rw-r--r-- | sys/fs/msdosfs/msdosfs_lookup.c | 4 | ||||
-rw-r--r-- | sys/fs/msdosfs/msdosfs_vnops.c | 2 | ||||
-rw-r--r-- | sys/fs/nandfs/nandfs_fs.h | 2 | ||||
-rw-r--r-- | sys/fs/nandfs/nandfs_subr.h | 2 | ||||
-rw-r--r-- | sys/fs/nandfs/nandfs_sufile.c | 2 | ||||
-rw-r--r-- | sys/fs/nandfs/nandfs_vnops.c | 4 | ||||
-rw-r--r-- | sys/fs/nullfs/null_vnops.c | 2 | ||||
-rw-r--r-- | sys/fs/smbfs/smbfs_io.c | 2 | ||||
-rw-r--r-- | sys/fs/smbfs/smbfs_subr.h | 2 | ||||
-rw-r--r-- | sys/fs/tmpfs/tmpfs_vnops.c | 2 | ||||
-rw-r--r-- | sys/fs/udf/osta.h | 2 |
15 files changed, 21 insertions, 21 deletions
diff --git a/sys/fs/fuse/fuse_io.c b/sys/fs/fuse/fuse_io.c index 89b57bb..5ffeb88 100644 --- a/sys/fs/fuse/fuse_io.c +++ b/sys/fs/fuse/fuse_io.c @@ -209,7 +209,7 @@ fuse_read_biobackend(struct vnode *vp, struct uio *uio, * buffer based on an EOF condition we need to hold * nfs_rslock() through obtaining the buffer to prevent * a potential writer-appender from messing with n_size. - * Otherwise we may accidently truncate the buffer and + * Otherwise we may accidentally truncate the buffer and * lose dirty data. * * Note that bcount is *not* DEV_BSIZE aligned. @@ -546,7 +546,7 @@ again: (on > bp->b_dirtyend || (on + n) < bp->b_dirtyoff)) { /* * Yes, we mean it. Write out everything to "storage" - * immediatly, without hesitation. (Apart from other + * immediately, without hesitation. (Apart from other * reasons: the only way to know if a write is valid * if its actually written out.) */ diff --git a/sys/fs/fuse/fuse_vnops.c b/sys/fs/fuse/fuse_vnops.c index 74dbcb2..b919b5f 100644 --- a/sys/fs/fuse/fuse_vnops.c +++ b/sys/fs/fuse/fuse_vnops.c @@ -1027,7 +1027,7 @@ out: * soon as we get those attrs... There is * one bit of info though not given us by * the daemon: whether his response is - * authorative or not... His response should + * authoritative or not... His response should * be ignored if something is mounted over * the dir in question. But that can be * known only by having the vnode... @@ -1774,7 +1774,7 @@ fuse_vnop_getpages(struct vop_getpages_args *ap) /* * We use only the kva address for the buffer, but this is extremely - * convienient and fast. + * convenient and fast. */ bp = getpbuf(&fuse_pbuf_freecnt); @@ -1835,7 +1835,7 @@ fuse_vnop_getpages(struct vop_getpages_args *ap) ("fuse_getpages: page %p is dirty", m)); } else { /* - * Read operation was short. If no error occured + * Read operation was short. If no error occurred * we may have hit a zero-fill section. We simply * leave valid set to 0. */ @@ -1908,7 +1908,7 @@ fuse_vnop_putpages(struct vop_putpages_args *ap) } /* * We use only the kva address for the buffer, but this is extremely - * convienient and fast. + * convenient and fast. */ bp = getpbuf(&fuse_pbuf_freecnt); diff --git a/sys/fs/msdosfs/msdosfs_conv.c b/sys/fs/msdosfs/msdosfs_conv.c index 396df9e..574417b 100644 --- a/sys/fs/msdosfs/msdosfs_conv.c +++ b/sys/fs/msdosfs/msdosfs_conv.c @@ -759,7 +759,7 @@ winSlotCnt(const u_char *un, size_t unlen, struct msdosfsmount *pmp) } /* - * Determine the number of bytes neccessary for Win95 names + * Determine the number of bytes necessary for Win95 names */ size_t winLenFixup(const u_char *un, size_t unlen) diff --git a/sys/fs/msdosfs/msdosfs_fat.c b/sys/fs/msdosfs/msdosfs_fat.c index 5df053c..cdfc9b0 100644 --- a/sys/fs/msdosfs/msdosfs_fat.c +++ b/sys/fs/msdosfs/msdosfs_fat.c @@ -175,7 +175,7 @@ pcbmap(struct denode *dep, u_long findcn, daddr_t *bnp, u_long *cnp, int *sp) /* * Rummage around in the fat cache, maybe we can avoid tromping - * thru every fat entry for the file. And, keep track of how far + * through every fat entry for the file. And, keep track of how far * off the cache was from where we wanted to be. */ i = 0; diff --git a/sys/fs/msdosfs/msdosfs_lookup.c b/sys/fs/msdosfs/msdosfs_lookup.c index f7955f2..f9c1170 100644 --- a/sys/fs/msdosfs/msdosfs_lookup.c +++ b/sys/fs/msdosfs/msdosfs_lookup.c @@ -924,7 +924,7 @@ readde(struct denode *dep, struct buf **bpp, struct direntry **epp) /* * Remove a directory entry. At this point the file represented by the - * directory entry to be removed is still full length until noone has it + * directory entry to be removed is still full length until no one has it * open. When the file no longer being used msdosfs_inactive() is called * and will truncate the file to 0 length. When the vnode containing the * denode is needed for some other purpose by VFS it will call @@ -975,7 +975,7 @@ removede(struct denode *pdep, struct denode *dep) offset += sizeof(struct direntry); while (1) { /* - * We are a bit agressive here in that we delete any Win95 + * We are a bit aggressive here in that we delete any Win95 * entries preceding this entry, not just the ones we "own". * Since these presumably aren't valid anyway, * there should be no harm. diff --git a/sys/fs/msdosfs/msdosfs_vnops.c b/sys/fs/msdosfs/msdosfs_vnops.c index 74a7e32..04be967 100644 --- a/sys/fs/msdosfs/msdosfs_vnops.c +++ b/sys/fs/msdosfs/msdosfs_vnops.c @@ -116,7 +116,7 @@ static vop_vptofh_t msdosfs_vptofh; * that when a directory is actually read/written (via read, write, or * readdir, or seek) we must use the vnode for the filesystem instead of * the vnode for the directory as would happen in ufs. This is to insure we - * retreive the correct block from the buffer cache since the hash value is + * retrieve the correct block from the buffer cache since the hash value is * based upon the vnode address and the desired block number. */ diff --git a/sys/fs/nandfs/nandfs_fs.h b/sys/fs/nandfs/nandfs_fs.h index b72be40..a0d060d 100644 --- a/sys/fs/nandfs/nandfs_fs.h +++ b/sys/fs/nandfs/nandfs_fs.h @@ -343,7 +343,7 @@ struct nandfs_segment_summary { /* * Structure of DAT/inode file. * - * A DAT file is devided into groups. The maximum number of groups is the + * A DAT file is divided into groups. The maximum number of groups is the * number of block group descriptors that fit into one block; this descriptor * only gives the number of free entries in the associated group. * diff --git a/sys/fs/nandfs/nandfs_subr.h b/sys/fs/nandfs/nandfs_subr.h index 0bcda18..c3fb8f1 100644 --- a/sys/fs/nandfs/nandfs_subr.h +++ b/sys/fs/nandfs/nandfs_subr.h @@ -114,7 +114,7 @@ int nandfs_free_entry(struct nandfs_mdt *, struct nandfs_alloc_request *); int nandfs_get_entry_block(struct nandfs_mdt *, struct nandfs_node *, struct nandfs_alloc_request *, uint32_t *, int); -/* inode managment */ +/* Inode management. */ int nandfs_node_create(struct nandfsmount *, struct nandfs_node **, uint16_t); int nandfs_node_destroy(struct nandfs_node *); int nandfs_node_update(struct nandfs_node *); diff --git a/sys/fs/nandfs/nandfs_sufile.c b/sys/fs/nandfs/nandfs_sufile.c index d4f4326..b1af84e 100644 --- a/sys/fs/nandfs/nandfs_sufile.c +++ b/sys/fs/nandfs/nandfs_sufile.c @@ -137,7 +137,7 @@ nandfs_alloc_segment(struct nandfs_device *fsdev, uint64_t *seg) rest = (fsdev->nd_blocksize - offset) / seg_size; /* Go through all su usage in block */ while (rest) { - /* When last check start from beggining */ + /* When last check start from beginning */ if (i == nsegments) break; diff --git a/sys/fs/nandfs/nandfs_vnops.c b/sys/fs/nandfs/nandfs_vnops.c index 40dd855..e94c6ff 100644 --- a/sys/fs/nandfs/nandfs_vnops.c +++ b/sys/fs/nandfs/nandfs_vnops.c @@ -1251,12 +1251,12 @@ nandfs_readdir(struct vop_readdir_args *ap) diroffset += ndirent->rec_len; blkoff += ndirent->rec_len; - /* Remember the last entry we transfered */ + /* Remember the last entry we transferred */ transoffset = diroffset; } brelse(bp); - /* Pass on last transfered offset */ + /* Pass on last transferred offset */ uio->uio_offset = transoffset; } diff --git a/sys/fs/nullfs/null_vnops.c b/sys/fs/nullfs/null_vnops.c index ec7d046..d3a7906 100644 --- a/sys/fs/nullfs/null_vnops.c +++ b/sys/fs/nullfs/null_vnops.c @@ -117,7 +117,7 @@ * are created as a result of vnode operations on * this or other null vnode stacks. * - * New vnode stacks come into existance as a result of + * New vnode stacks come into existence as a result of * an operation which returns a vnode. * The bypass routine stacks a null-node above the new * vnode before returning it to the caller. diff --git a/sys/fs/smbfs/smbfs_io.c b/sys/fs/smbfs/smbfs_io.c index f549160..498d063 100644 --- a/sys/fs/smbfs/smbfs_io.c +++ b/sys/fs/smbfs/smbfs_io.c @@ -520,7 +520,7 @@ smbfs_getpages(ap) ("smbfs_getpages: page %p is dirty", m)); } else { /* - * Read operation was short. If no error occured + * Read operation was short. If no error occurred * we may have hit a zero-fill section. We simply * leave valid set to 0. */ diff --git a/sys/fs/smbfs/smbfs_subr.h b/sys/fs/smbfs/smbfs_subr.h index 4ee143c..10bf7bf 100644 --- a/sys/fs/smbfs/smbfs_subr.h +++ b/sys/fs/smbfs/smbfs_subr.h @@ -107,7 +107,7 @@ struct smbfs_fctx { struct smb_t2rq * uf_t2; } f_urq; int f_left; /* entries left */ - int f_ecnt; /* entries left in the current reponse */ + int f_ecnt; /* entries left in the current response */ int f_eofs; /* entry offset in the parameter block */ u_char f_skey[SMB_SKEYLEN]; /* server side search context */ u_char f_fname[8 + 1 + 3 + 1]; /* common case for 8.3 filenames */ diff --git a/sys/fs/tmpfs/tmpfs_vnops.c b/sys/fs/tmpfs/tmpfs_vnops.c index bf42ffe..c302771 100644 --- a/sys/fs/tmpfs/tmpfs_vnops.c +++ b/sys/fs/tmpfs/tmpfs_vnops.c @@ -840,7 +840,7 @@ tmpfs_rename(struct vop_rename_args *v) /* If re-naming a directory to another preexisting directory * ensure that the target directory is empty so that its * removal causes no side effects. - * Kern_rename gurantees the destination to be a directory + * Kern_rename guarantees the destination to be a directory * if the source is one. */ if (tvp != NULL) { MPASS(tnode != NULL); diff --git a/sys/fs/udf/osta.h b/sys/fs/udf/osta.h index 8fe4342..7a889c2 100644 --- a/sys/fs/udf/osta.h +++ b/sys/fs/udf/osta.h @@ -28,7 +28,7 @@ #endif /*********************************************************************** - * The following two typedef's are to remove compiler dependancies. + * The following two typedef's are to remove compiler dependencies. * byte needs to be unsigned 8-bit, and unicode_t needs to be * unsigned 16-bit. */ |