summaryrefslogtreecommitdiff
path: root/sys/fs
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2022-05-28 21:14:56 +0000
committerandvar <andvar@NetBSD.org>2022-05-28 21:14:56 +0000
commitbce879b8ba32cfb3a0f69165bc5858ba6d6db387 (patch)
tree6627d321c09bbcc1c22023107c31952782074607 /sys/fs
parent0e6abd5684aa7211ace40577a9ddcbc0ebe1e3f5 (diff)
fix various typos in comments, mainly origional->original,
extened->extended, incomming->incoming.
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/nilfs/nilfs_vnops.c6
-rw-r--r--sys/fs/udf/udf_subr.c6
-rw-r--r--sys/fs/udf/udf_vnops.c14
3 files changed, 13 insertions, 13 deletions
diff --git a/sys/fs/nilfs/nilfs_vnops.c b/sys/fs/nilfs/nilfs_vnops.c
index b63b9d319b6..75ad1d6d556 100644
--- a/sys/fs/nilfs/nilfs_vnops.c
+++ b/sys/fs/nilfs/nilfs_vnops.c
@@ -1,4 +1,4 @@
-/* $NetBSD: nilfs_vnops.c,v 1.46 2022/04/10 09:50:45 andvar Exp $ */
+/* $NetBSD: nilfs_vnops.c,v 1.47 2022/05/28 21:14:56 andvar Exp $ */
/*
* Copyright (c) 2008, 2009 Reinoud Zandijk
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: nilfs_vnops.c,v 1.46 2022/04/10 09:50:45 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nilfs_vnops.c,v 1.47 2022/05/28 21:14:56 andvar Exp $");
#endif /* not lint */
@@ -328,7 +328,7 @@ nilfs_trivial_bmap(void *v)
struct vnode *vp = ap->a_vp; /* our node */
struct vnode **vpp = ap->a_vpp; /* return node */
daddr_t *bnp = ap->a_bnp; /* translated */
- daddr_t bn = ap->a_bn; /* origional */
+ daddr_t bn = ap->a_bn; /* original */
int *runp = ap->a_runp;
struct nilfs_node *node = VTOI(vp);
uint64_t *l2vmap;
diff --git a/sys/fs/udf/udf_subr.c b/sys/fs/udf/udf_subr.c
index 7bf51a38a75..573ca0fced9 100644
--- a/sys/fs/udf/udf_subr.c
+++ b/sys/fs/udf/udf_subr.c
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_subr.c,v 1.170 2022/05/15 20:37:51 andvar Exp $ */
+/* $NetBSD: udf_subr.c,v 1.171 2022/05/28 21:14:57 andvar Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.170 2022/05/15 20:37:51 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_subr.c,v 1.171 2022/05/28 21:14:57 andvar Exp $");
#endif /* not lint */
@@ -2161,7 +2161,7 @@ udf_update_logvolname(struct udf_mount *ump, char *logvol_id)
if (ump->implementation)
lvi = &ump->implementation->_impl_use.lv_info;
- /* logvol's id might be specified as origional so use memmove here */
+ /* logvol's id might be specified as original so use memmove here */
memmove(lvd->logvol_id, logvol_id, 128);
if (fsd)
memmove(fsd->logvol_id, logvol_id, 128);
diff --git a/sys/fs/udf/udf_vnops.c b/sys/fs/udf/udf_vnops.c
index 4b7ab2b5582..caa0c7b60e9 100644
--- a/sys/fs/udf/udf_vnops.c
+++ b/sys/fs/udf/udf_vnops.c
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_vnops.c,v 1.125 2022/05/03 20:52:32 andvar Exp $ */
+/* $NetBSD: udf_vnops.c,v 1.126 2022/05/28 21:14:57 andvar Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.125 2022/05/03 20:52:32 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_vnops.c,v 1.126 2022/05/28 21:14:57 andvar Exp $");
#endif /* not lint */
@@ -419,7 +419,7 @@ udf_write(void *v)
/* --------------------------------------------------------------------- */
/*
- * `Special' bmap functionality that translates all incomming requests to
+ * `Special' bmap functionality that translates all incoming requests to
* translate to vop_strategy() calls with the same blocknumbers effectively
* not translating at all.
*/
@@ -437,7 +437,7 @@ udf_trivial_bmap(void *v)
struct vnode *vp = ap->a_vp; /* our node */
struct vnode **vpp = ap->a_vpp; /* return node */
daddr_t *bnp = ap->a_bnp; /* translated */
- daddr_t bn = ap->a_bn; /* origional */
+ daddr_t bn = ap->a_bn; /* original */
int *runp = ap->a_runp;
struct udf_node *udf_node = VTOI(vp);
uint32_t lb_size;
@@ -1343,7 +1343,7 @@ udf_open(void *v)
/*
* Files marked append-only must be opened for appending.
- * TODO: get chflags(2) flags from extened attribute.
+ * TODO: get chflags(2) flags from extended attribute.
*/
flags = 0;
if ((flags & APPEND) && (ap->a_mode & (FWRITE | O_APPEND)) == FWRITE)
@@ -1422,7 +1422,7 @@ udf_check_possible(struct vnode *vp, struct vattr *vap, mode_t mode)
}
/* noone may write immutable files */
- /* TODO: get chflags(2) flags from extened attribute. */
+ /* TODO: get chflags(2) flags from extended attribute. */
flags = 0;
if ((mode & VWRITE) && (flags & IMMUTABLE))
return EPERM;
@@ -2021,7 +2021,7 @@ udf_rmdir(void *v)
* Bug alert: we need to remove '..' from the detaching
* udf_node so further lookups of this are not possible. This
* prevents a process in a deleted directory from going to its
- * deleted parent. Since `udf_node' is garanteed to be empty
+ * deleted parent. Since `udf_node' is guaranteed to be empty
* here, trunc it so no fids are there.
*/
dirhash_purge(&udf_node->dir_hash);