-/* $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 <ccna.syl@gmail.com>
*
}
/*
- * 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)
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;
-/* $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 <ccna.syl@gmail.com>
*
* 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
-/* $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 $ */
/*-
* 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.
*/
}
/*
- * Allocate contigous free clusters.
+ * Allocate contiguous free clusters.
*
* pmp - mount point.
* start - start of cluster chain.
-/* $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 $ */
/*
}
/*
- * 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))) {
-/* $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 $ */
/*
}
/*
- * 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
-/* $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 $ */
/*
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)
} 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) {
-/* $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 $ */
/*
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 */
-/* $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 $ */
/*
#include <ntfs/ntfs_ihash.h>
/*
- * 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;
-/* $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 $ */
/*-
#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;
-/* $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 $ */
/*
}
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) */
-/* $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 $ */
/*
#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
-/* $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 $ */
/*
* 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
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) {
/*
* 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)
-/* $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 $ */
/*
}
/*
* 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.
-/* $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 $ */
/*
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
-/* $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 $ */
/*
/*
* 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);
-/* $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.
*
* 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
-/* $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 $ */
/*
#include <crypto/siphash.h>
/*
- * Structures associated with inode cacheing.
+ * Structures associated with inode caching.
*/
LIST_HEAD(ihashhead, inode) *ihashtbl;
u_long ihash; /* size of hash table - 1 */