From b66b9ef836b4335d57b8481be6faf1a0b9b7e205 Mon Sep 17 00:00:00 2001 From: jsg Date: Thu, 11 Mar 2021 13:31:35 +0000 Subject: [PATCH] spelling --- sys/miscfs/fuse/fuse_device.c | 8 ++++---- sys/miscfs/fuse/fusebuf.c | 4 ++-- sys/msdosfs/msdosfs_fat.c | 6 +++--- sys/nfs/nfs_serv.c | 4 ++-- sys/nfs/nfs_syscalls.c | 4 ++-- sys/nfs/nfs_vnops.c | 6 +++--- sys/nfs/nfsnode.h | 4 ++-- sys/ntfs/ntfs_ihash.c | 4 ++-- sys/ntfs/ntfs_inode.h | 4 ++-- sys/tmpfs/tmpfs_vnops.c | 6 +++--- sys/ufs/ext2fs/ext2fs.h | 4 ++-- sys/ufs/ext2fs/ext2fs_alloc.c | 10 +++++----- sys/ufs/ext2fs/ext2fs_inode.c | 4 ++-- sys/ufs/ext2fs/ext2fs_lookup.c | 4 ++-- sys/ufs/ffs/ffs_alloc.c | 4 ++-- sys/ufs/ufs/dirhash.h | 4 ++-- sys/ufs/ufs/ufs_ihash.c | 4 ++-- 17 files changed, 42 insertions(+), 42 deletions(-) diff --git a/sys/miscfs/fuse/fuse_device.c b/sys/miscfs/fuse/fuse_device.c index d06f8ec0f46..91ffaca08ca 100644 --- a/sys/miscfs/fuse/fuse_device.c +++ b/sys/miscfs/fuse/fuse_device.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fuse_device.c,v 1.35 2020/12/25 12:59:52 visa Exp $ */ +/* $OpenBSD: fuse_device.c,v 1.36 2021/03/11 13:31:35 jsg Exp $ */ /* * Copyright (c) 2012-2013 Sylvestre Gallon * @@ -258,8 +258,8 @@ end: } /* - * FIOCGETFBDAT Get fusebuf datas from kernel to user - * FIOCSETFBDAT Set fusebuf datas from user to kernel + * FIOCGETFBDAT Get fusebuf data from kernel to user + * FIOCSETFBDAT Set fusebuf data from user to kernel */ int fuseioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p) @@ -473,7 +473,7 @@ fusewrite(dev_t dev, struct uio *uio, int ioflag) goto end; } - /* Get the missing datas from the fbuf */ + /* Get the missing data from the fbuf */ error = uiomove(&fbuf->FD, uio->uio_resid, uio); if (error) return error; diff --git a/sys/miscfs/fuse/fusebuf.c b/sys/miscfs/fuse/fusebuf.c index c2d01bd7b14..3e5c13d18a0 100644 --- a/sys/miscfs/fuse/fusebuf.c +++ b/sys/miscfs/fuse/fusebuf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fusebuf.c,v 1.17 2019/12/05 10:41:08 mpi Exp $ */ +/* $OpenBSD: fusebuf.c,v 1.18 2021/03/11 13:31:35 jsg Exp $ */ /* * Copyright (c) 2012-2013 Sylvestre Gallon * @@ -65,7 +65,7 @@ fb_setup(size_t len, ino_t ino, int op, struct proc *p) * should behave. nfs supports the -ointr or -i mount option and FUSE * can too but this is non-trivial. The file system daemon must be * multi-threaded and also support being interrupted. Note that - * libfuse currently only supports single-threaded deamons. + * libfuse currently only supports single-threaded daemons. * * Why not timeout similar to mount_nfs -osoft? * It introduces another point of failure and a possible mount option diff --git a/sys/msdosfs/msdosfs_fat.c b/sys/msdosfs/msdosfs_fat.c index 64183914e66..c15b6257d43 100644 --- a/sys/msdosfs/msdosfs_fat.c +++ b/sys/msdosfs/msdosfs_fat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: msdosfs_fat.c,v 1.33 2019/07/19 00:24:31 cheloha Exp $ */ +/* $OpenBSD: msdosfs_fat.c,v 1.34 2021/03/11 13:31:35 jsg Exp $ */ /* $NetBSD: msdosfs_fat.c,v 1.26 1997/10/17 11:24:02 ws Exp $ */ /*- @@ -358,7 +358,7 @@ updatefats(struct msdosfsmount *pmp, struct buf *bp, uint32_t fatbn) * other fats and then writing them back out. This could tie up * the fat for quite a while. Preventing others from accessing it. * To prevent us from going after the fat quite so much we use - * delayed writes, unless they specfied "synchronous" when the + * delayed writes, unless they specified "synchronous" when the * filesystem was mounted. If synch is asked for then use * bwrite()'s and really slow things down. */ @@ -669,7 +669,7 @@ chainlength(struct msdosfsmount *pmp, uint32_t start, uint32_t count) } /* - * Allocate contigous free clusters. + * Allocate contiguous free clusters. * * pmp - mount point. * start - start of cluster chain. diff --git a/sys/nfs/nfs_serv.c b/sys/nfs/nfs_serv.c index 44dbfdc4a6c..4e18a83ae58 100644 --- a/sys/nfs/nfs_serv.c +++ b/sys/nfs/nfs_serv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_serv.c,v 1.119 2019/01/19 01:53:44 cheloha Exp $ */ +/* $OpenBSD: nfs_serv.c,v 1.120 2021/03/11 13:31:35 jsg Exp $ */ /* $NetBSD: nfs_serv.c,v 1.34 1997/05/12 23:37:12 fvdl Exp $ */ /* @@ -302,7 +302,7 @@ nfsrv_setattr(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, } /* - * If the size is being changed write acces is required, otherwise + * If the size is being changed write access is required, otherwise * just check for a read only file system. */ if (va.va_size == ((u_quad_t)((quad_t) -1))) { diff --git a/sys/nfs/nfs_syscalls.c b/sys/nfs/nfs_syscalls.c index 637ef9d6dc3..6dc6a22a50b 100644 --- a/sys/nfs/nfs_syscalls.c +++ b/sys/nfs/nfs_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_syscalls.c,v 1.116 2020/01/15 13:17:35 mpi Exp $ */ +/* $OpenBSD: nfs_syscalls.c,v 1.117 2021/03/11 13:31:35 jsg Exp $ */ /* $NetBSD: nfs_syscalls.c,v 1.19 1996/02/18 11:53:52 fvdl Exp $ */ /* @@ -498,7 +498,7 @@ nfsrv_zapsock(struct nfssvc_sock *slp) } /* - * Derefence a server socket structure. If it has no more references and + * Dereference a server socket structure. If it has no more references and * is no longer valid, you can throw it away. */ void diff --git a/sys/nfs/nfs_vnops.c b/sys/nfs/nfs_vnops.c index 6a5fcd124d4..6e0362c0755 100644 --- a/sys/nfs/nfs_vnops.c +++ b/sys/nfs/nfs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_vnops.c,v 1.185 2020/09/27 17:25:19 matthieu Exp $ */ +/* $OpenBSD: nfs_vnops.c,v 1.186 2021/03/11 13:31:35 jsg Exp $ */ /* $NetBSD: nfs_vnops.c,v 1.62.4.1 1996/07/08 20:26:52 jtc Exp $ */ /* @@ -1264,7 +1264,7 @@ nfs_writerpc(struct vnode *vp, struct uio *uiop, int *iomode, int *must_commit) commit = fxdr_unsigned(int, *tl++); /* - * Return the lowest committment level + * Return the lowest commitment level * obtained by any of the RPCs. */ if (committed == NFSV3WRITE_FILESYNC) @@ -3195,7 +3195,7 @@ nfs_writebp(struct buf *bp, int force) } else bcstats.pendingwrites--; } else - retv = 0; /* It has already been commited. */ + retv = 0; /* It has already been committed. */ rw_exit_write(&np->n_commitlock); if (!retv) { diff --git a/sys/nfs/nfsnode.h b/sys/nfs/nfsnode.h index 1348060595f..c8a635dfbd1 100644 --- a/sys/nfs/nfsnode.h +++ b/sys/nfs/nfsnode.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nfsnode.h,v 1.41 2019/01/21 18:09:21 anton Exp $ */ +/* $OpenBSD: nfsnode.h,v 1.42 2021/03/11 13:31:35 jsg Exp $ */ /* $NetBSD: nfsnode.h,v 1.16 1996/02/18 11:54:04 fvdl Exp $ */ /* @@ -100,7 +100,7 @@ struct nfsnode { struct ucred *n_rcred; struct ucred *n_wcred; - off_t n_pushedlo; /* 1st blk in commited range */ + off_t n_pushedlo; /* 1st blk in committed range */ off_t n_pushedhi; /* Last block in range */ off_t n_pushlo; /* 1st block in commit range */ off_t n_pushhi; /* Last block in range */ diff --git a/sys/ntfs/ntfs_ihash.c b/sys/ntfs/ntfs_ihash.c index 28f9b3138d6..b166360f368 100644 --- a/sys/ntfs/ntfs_ihash.c +++ b/sys/ntfs/ntfs_ihash.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntfs_ihash.c,v 1.20 2016/09/24 18:38:23 tedu Exp $ */ +/* $OpenBSD: ntfs_ihash.c,v 1.21 2021/03/11 13:31:35 jsg Exp $ */ /* $NetBSD: ntfs_ihash.c,v 1.1 2002/12/23 17:38:32 jdolecek Exp $ */ /* @@ -47,7 +47,7 @@ #include /* - * Structures associated with inode cacheing. + * Structures associated with inode caching. */ u_int ntfs_hash(dev_t, ntfsino_t); static LIST_HEAD(nthashhead, ntnode) *ntfs_nthashtbl; diff --git a/sys/ntfs/ntfs_inode.h b/sys/ntfs/ntfs_inode.h index 9dbc6faba90..9ce63991c80 100644 --- a/sys/ntfs/ntfs_inode.h +++ b/sys/ntfs/ntfs_inode.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ntfs_inode.h,v 1.7 2013/05/30 20:11:06 guenther Exp $ */ +/* $OpenBSD: ntfs_inode.h,v 1.8 2021/03/11 13:31:35 jsg Exp $ */ /* $NetBSD: ntfs_inode.h,v 1.1 2002/12/23 17:38:33 jdolecek Exp $ */ /*- @@ -64,7 +64,7 @@ struct ntnode { #define FN_AATTRNAME 0x0004 /* space allocated for f_attrname */ struct fnode { LIST_ENTRY(fnode) f_fnlist; - struct vnode *f_vp; /* Associatied vnode */ + struct vnode *f_vp; /* Associated vnode */ struct ntnode *f_ip; /* Associated ntnode */ u_long f_flag; diff --git a/sys/tmpfs/tmpfs_vnops.c b/sys/tmpfs/tmpfs_vnops.c index 2fd97126ae5..daeb1344e51 100644 --- a/sys/tmpfs/tmpfs_vnops.c +++ b/sys/tmpfs/tmpfs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmpfs_vnops.c,v 1.45 2020/12/25 12:59:53 visa Exp $ */ +/* $OpenBSD: tmpfs_vnops.c,v 1.46 2021/03/11 13:31:35 jsg Exp $ */ /* $NetBSD: tmpfs_vnops.c,v 1.100 2012/11/05 17:27:39 dholland Exp $ */ /* @@ -289,8 +289,8 @@ done: } out: /* - * If (1) we succeded, (2) found a distinct vnode to return and (3) were - * either explicitly told to keep the parent locked or are in the + * If (1) we succeeded, (2) found a distinct vnode to return and (3) + * were either explicitly told to keep the parent locked or are in the * middle of a lookup, unlock the parent vnode. */ if ((error == 0 || error == EJUSTRETURN) && /* (1) */ diff --git a/sys/ufs/ext2fs/ext2fs.h b/sys/ufs/ext2fs/ext2fs.h index 177267bab36..647270d8040 100644 --- a/sys/ufs/ext2fs/ext2fs.h +++ b/sys/ufs/ext2fs/ext2fs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2fs.h,v 1.25 2021/03/05 06:01:13 jsg Exp $ */ +/* $OpenBSD: ext2fs.h,v 1.26 2021/03/11 13:31:35 jsg Exp $ */ /* $NetBSD: ext2fs.h,v 1.10 2000/01/28 16:00:23 bouyer Exp $ */ /* @@ -193,7 +193,7 @@ e2fs_overflow(struct m_ext2fs *fs, off_t lower, off_t value) #define E2FS_REV0 0 /* revision levels */ #define E2FS_REV1 1 /* revision levels */ -/* compatible/imcompatible features */ +/* compatible/incompatible features */ #define EXT2F_COMPAT_PREALLOC 0x0001 #define EXT2F_COMPAT_IMAGIC_INODES 0x0002 #define EXT2F_COMPAT_HAS_JOURNAL 0x0004 diff --git a/sys/ufs/ext2fs/ext2fs_alloc.c b/sys/ufs/ext2fs/ext2fs_alloc.c index d46bd2ab899..49f375813d2 100644 --- a/sys/ufs/ext2fs/ext2fs_alloc.c +++ b/sys/ufs/ext2fs/ext2fs_alloc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2fs_alloc.c,v 1.37 2020/06/24 22:03:44 cheloha Exp $ */ +/* $OpenBSD: ext2fs_alloc.c,v 1.38 2021/03/11 13:31:35 jsg Exp $ */ /* $NetBSD: ext2fs_alloc.c,v 1.10 2001/07/05 08:38:27 toshii Exp $ */ /* @@ -213,7 +213,7 @@ ext2fs_dirpref(struct m_ext2fs *fs) * If no blocks have been allocated in the first section, the policy is to * request a block in the same cylinder group as the inode that describes * the file. Otherwise, the policy is to try to allocate the blocks - * contigously. The two fields of the ext2 inode extension (see + * contiguously. The two fields of the ext2 inode extension (see * ufs/ufs/inode.h) help this. */ daddr_t @@ -224,8 +224,8 @@ ext2fs_blkpref(struct inode *ip, u_int32_t lbn, int baps, u_int32_t *bap) fs = ip->i_e2fs; /* - * if we are doing contigous lbn allocation, try to alloc blocks - * contigously on disk + * if we are doing contiguous lbn allocation, try to alloc blocks + * contiguously on disk */ if ( ip->i_e2fs_last_blk && lbn == ip->i_e2fs_last_lblk + 1) { @@ -343,7 +343,7 @@ ext2fs_alloccg(struct inode *ip, int cg, u_int32_t bpref, int size) /* * no blocks in the requested cylinder, so take next * available one in this cylinder group. - * first try to get 8 contigous blocks, then fall back to a single + * first try to get 8 contiguous blocks, then fall back to a single * block. */ if (bpref) diff --git a/sys/ufs/ext2fs/ext2fs_inode.c b/sys/ufs/ext2fs/ext2fs_inode.c index f39f0bbe770..d4feff0a8f0 100644 --- a/sys/ufs/ext2fs/ext2fs_inode.c +++ b/sys/ufs/ext2fs/ext2fs_inode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2fs_inode.c,v 1.63 2020/02/27 09:10:31 mpi Exp $ */ +/* $OpenBSD: ext2fs_inode.c,v 1.64 2021/03/11 13:31:35 jsg Exp $ */ /* $NetBSD: ext2fs_inode.c,v 1.24 2001/06/19 12:59:18 wiz Exp $ */ /* @@ -274,7 +274,7 @@ ext2fs_truncate(struct inode *oip, off_t length, int flags, struct ucred *cred) } /* * Shorten the size of the file. If the file is not being - * truncated to a block boundry, the contents of the + * truncated to a block boundary, the contents of the * partial block following the end of the file must be * zero'ed in case it ever become accessible again because * of subsequent file growth. diff --git a/sys/ufs/ext2fs/ext2fs_lookup.c b/sys/ufs/ext2fs/ext2fs_lookup.c index a35b0b00aa4..d77f4a3f298 100644 --- a/sys/ufs/ext2fs/ext2fs_lookup.c +++ b/sys/ufs/ext2fs/ext2fs_lookup.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2fs_lookup.c,v 1.44 2018/05/02 02:24:56 visa Exp $ */ +/* $OpenBSD: ext2fs_lookup.c,v 1.45 2021/03/11 13:31:35 jsg Exp $ */ /* $NetBSD: ext2fs_lookup.c,v 1.16 2000/08/03 20:29:26 thorpej Exp $ */ /* @@ -96,7 +96,7 @@ ext2fs_dirconv2ffs(struct ext2fs_direct *e2dir, struct dirent *ffsdir) ffsdir->d_type = DT_UNKNOWN; /* don't know more here */ #ifdef DIAGNOSTIC /* - * XXX Rigth now this can't happen, but if one day + * XXX Right now this can't happen, but if one day * MAXNAMLEN != E2FS_MAXNAMLEN we should handle this more gracefully ! */ /* XXX: e2d_namlen is to small for such comparison diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c index b72912ebf72..f25e235bdda 100644 --- a/sys/ufs/ffs/ffs_alloc.c +++ b/sys/ufs/ffs/ffs_alloc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_alloc.c,v 1.113 2020/06/20 07:49:04 otto Exp $ */ +/* $OpenBSD: ffs_alloc.c,v 1.114 2021/03/11 13:31:35 jsg Exp $ */ /* $NetBSD: ffs_alloc.c,v 1.11 1996/05/11 18:27:09 mycroft Exp $ */ /* @@ -416,7 +416,7 @@ ffs_inode_alloc(struct inode *pip, mode_t mode, struct ucred *cred, /* * Set up a new generation number for this inode. * On wrap, we make sure to assign a number != 0 and != UINT_MAX - * (the origial value). + * (the original value). */ if (DIP(ip, gen) != 0) DIP_ADD(ip, gen, 1); diff --git a/sys/ufs/ufs/dirhash.h b/sys/ufs/ufs/dirhash.h index 075aabfcb34..63960b69b4d 100644 --- a/sys/ufs/ufs/dirhash.h +++ b/sys/ufs/ufs/dirhash.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dirhash.h,v 1.6 2017/10/26 02:38:54 guenther Exp $ */ +/* $OpenBSD: dirhash.h,v 1.7 2021/03/11 13:31:36 jsg Exp $ */ /* * Copyright (c) 2001 Ian Dowse. All rights reserved. * @@ -60,7 +60,7 @@ * together on a TAILQ list, and hashes with higher scores filter * towards the tail (most recently used) end of the list. * - * New hash entries are given an inital score of DH_SCOREINIT and are + * New hash entries are given an initial score of DH_SCOREINIT and are * placed at the most-recently-used end of the list. This helps a lot * in the worst-case case scenario where every directory access is * to a directory that is not hashed (i.e. the working set of hash diff --git a/sys/ufs/ufs/ufs_ihash.c b/sys/ufs/ufs/ufs_ihash.c index 3e73ec465dc..2fef0bc139d 100644 --- a/sys/ufs/ufs/ufs_ihash.c +++ b/sys/ufs/ufs/ufs_ihash.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ufs_ihash.c,v 1.24 2018/05/27 06:02:15 visa Exp $ */ +/* $OpenBSD: ufs_ihash.c,v 1.25 2021/03/11 13:31:36 jsg Exp $ */ /* $NetBSD: ufs_ihash.c,v 1.3 1996/02/09 22:36:04 christos Exp $ */ /* @@ -44,7 +44,7 @@ #include /* - * Structures associated with inode cacheing. + * Structures associated with inode caching. */ LIST_HEAD(ihashhead, inode) *ihashtbl; u_long ihash; /* size of hash table - 1 */ -- 2.20.1