summaryrefslogtreecommitdiff
path: root/sys/fs
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2022-05-22 11:27:33 +0000
committerandvar <andvar@NetBSD.org>2022-05-22 11:27:33 +0000
commit2d52435ade4bc6f13b084477e53a16fb783290d0 (patch)
tree687dacfe55a8f5b240056e67c9436e290f820645 /sys/fs
parentdd25b8ea7dd4819f30919b4488b399444396e9eb (diff)
fix various small typos, mainly in comments.
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/udf/udf_allocation.c6
-rw-r--r--sys/fs/v7fs/v7fs.h6
-rw-r--r--sys/fs/v7fs/v7fs_vnops.c6
3 files changed, 9 insertions, 9 deletions
diff --git a/sys/fs/udf/udf_allocation.c b/sys/fs/udf/udf_allocation.c
index a2c0f63e62f..0636ec4c6de 100644
--- a/sys/fs/udf/udf_allocation.c
+++ b/sys/fs/udf/udf_allocation.c
@@ -1,4 +1,4 @@
-/* $NetBSD: udf_allocation.c,v 1.46 2022/02/03 09:46:26 reinoud Exp $ */
+/* $NetBSD: udf_allocation.c,v 1.47 2022/05/22 11:27:36 andvar Exp $ */
/*
* Copyright (c) 2006, 2008 Reinoud Zandijk
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__KERNEL_RCSID(0, "$NetBSD: udf_allocation.c,v 1.46 2022/02/03 09:46:26 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: udf_allocation.c,v 1.47 2022/05/22 11:27:36 andvar Exp $");
#endif /* not lint */
@@ -1657,7 +1657,7 @@ udf_late_allocate_buf(struct udf_mount *ump, struct buf *buf,
vpart_num = *vpart_nump = udf_get_record_vpart(ump, udf_c_type);
if (udf_c_type == UDF_C_NODE) {
- /* if not VAT, its allready allocated */
+ /* if not VAT, its already allocated */
if (ump->vtop_alloc[ump->node_part] != UDF_ALLOC_VAT)
return;
diff --git a/sys/fs/v7fs/v7fs.h b/sys/fs/v7fs/v7fs.h
index c35bacecc8e..dc4eab08372 100644
--- a/sys/fs/v7fs/v7fs.h
+++ b/sys/fs/v7fs/v7fs.h
@@ -1,4 +1,4 @@
-/* $NetBSD: v7fs.h,v 1.2 2011/07/16 12:35:40 uch Exp $ */
+/* $NetBSD: v7fs.h,v 1.3 2022/05/22 11:27:36 andvar Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -169,10 +169,10 @@ struct v7fs_inode_diskimage {
/* Obsoleted file type. */
#define V7FS_IFMPC 0030000 /* multiplexed char special */
#define V7FS_IFMPB 0070000 /* multiplexed block special */
-/* Don't apear original V7 filesystem. Found at 2.10BSD. */
+/* Don't appear original V7 filesystem. Found at 2.10BSD. */
#define V7FSBSD_IFLNK 0120000 /* symbolic link */
#define V7FSBSD_IFSOCK 0140000 /* socket */
-/* Don't apear original V7 filesystem. NetBSD. */
+/* Don't appear original V7 filesystem. NetBSD. */
#define V7FSBSD_IFFIFO 0010000 /* Named pipe. */
#define V7FSBSD_MAXSYMLINKLEN V7FS_BSIZE
diff --git a/sys/fs/v7fs/v7fs_vnops.c b/sys/fs/v7fs/v7fs_vnops.c
index 4ca6f44c2a9..6814c9b3d0c 100644
--- a/sys/fs/v7fs/v7fs_vnops.c
+++ b/sys/fs/v7fs/v7fs_vnops.c
@@ -1,4 +1,4 @@
-/* $NetBSD: v7fs_vnops.c,v 1.36 2022/03/30 12:45:58 christos Exp $ */
+/* $NetBSD: v7fs_vnops.c,v 1.37 2022/05/22 11:27:36 andvar Exp $ */
/*-
* Copyright (c) 2004, 2011 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: v7fs_vnops.c,v 1.36 2022/03/30 12:45:58 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: v7fs_vnops.c,v 1.37 2022/05/22 11:27:36 andvar Exp $");
#if defined _KERNEL_OPT
#include "opt_v7fs.h"
#endif
@@ -430,7 +430,7 @@ v7fs_getattr(void *v)
vap->va_fileid = inode->inode_number;
vap->va_size = vp->v_size;
if (vp->v_type == VLNK) {
- /* Ajust for trailing NUL. */
+ /* Adjust for trailing NUL. */
KASSERT(vap->va_size > 0);
vap->va_size -= 1;
}