Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/fs/nilfs fix few typos in comments.



details:   https://anonhg.NetBSD.org/src/rev/5f33c2d8d19c
branches:  trunk
changeset: 371771:5f33c2d8d19c
user:      andvar <andvar%NetBSD.org@localhost>
date:      Fri Oct 07 22:33:42 2022 +0000

description:
fix few typos in comments.

diffstat:

 sys/fs/nilfs/nilfs_vnops.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r bb24ba34cad3 -r 5f33c2d8d19c sys/fs/nilfs/nilfs_vnops.c
--- a/sys/fs/nilfs/nilfs_vnops.c        Fri Oct 07 22:30:48 2022 +0000
+++ b/sys/fs/nilfs/nilfs_vnops.c        Fri Oct 07 22:33:42 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nilfs_vnops.c,v 1.47 2022/05/28 21:14:56 andvar Exp $  */
+/*     $NetBSD: nilfs_vnops.c,v 1.48 2022/10/07 22:33:42 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.47 2022/05/28 21:14:56 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nilfs_vnops.c,v 1.48 2022/10/07 22:33:42 andvar Exp $");
 #endif /* not lint */
 
 
@@ -1272,7 +1272,7 @@
 
 /* --------------------------------------------------------------------- */
 
-/* note: i tried to follow the logics of the tmpfs rename code */
+/* note: i tried to follow the logic of the tmpfs rename code */
 int
 nilfs_rename(void *v)
 {
@@ -1346,7 +1346,7 @@
                }
        }
 
-       /* dont allow renaming directories acros directory for now */
+       /* don't allow renaming directories across directory for now */
        if (fdnode != tdnode) {
                if (fvp->v_type == VDIR) {
                        error = EINVAL;



Home | Main Index | Thread Index | Old Index