Source-Changes-HG archive

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

[src/trunk]: src/sys/nfs more typos in comments



details:   https://anonhg.NetBSD.org/src/rev/447b717b7d8e
branches:  trunk
changeset: 789648:447b717b7d8e
user:      dholland <dholland%NetBSD.org@localhost>
date:      Fri Aug 30 07:30:50 2013 +0000

description:
more typos in comments

diffstat:

 sys/nfs/nfs_export.c |  18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diffs (81 lines):

diff -r 51ec88426983 -r 447b717b7d8e sys/nfs/nfs_export.c
--- a/sys/nfs/nfs_export.c      Fri Aug 30 07:25:43 2013 +0000
+++ b/sys/nfs/nfs_export.c      Fri Aug 30 07:30:50 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nfs_export.c,v 1.52 2013/08/30 07:25:43 dholland Exp $ */
+/*     $NetBSD: nfs_export.c,v 1.53 2013/08/30 07:30:50 dholland Exp $ */
 
 /*-
  * Copyright (c) 1997, 1998, 2004, 2005, 2008 The NetBSD Foundation, Inc.
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_export.c,v 1.52 2013/08/30 07:25:43 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_export.c,v 1.53 2013/08/30 07:30:50 dholland Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -171,7 +171,7 @@
  * VFS unmount hook for NFS exports.
  *
  * Releases NFS exports list resources if the given mount point has some.
- * As allocation happens lazily, it may be that it doesn't has this
+ * As allocation happens lazily, it may be that it doesn't have this
  * information, although it theoretically should.
  */
 static void
@@ -255,7 +255,7 @@
            KAUTH_REQ_NETWORK_NFS_EXPORT, NULL, NULL, NULL) != 0)
                return EPERM;
 
-       /* Lookup the file system path. */
+       /* Look up the file system path. */
        error = pathbuf_copyin(mel->mel_path, &pb);
        if (error) {
                return error;
@@ -392,7 +392,7 @@
  * in the address specified by 'wh'.
  *
  * This function is used exclusively by the NFS server.  It is generally
- * invoked before VFS_FHTOVP to validate that client has access to the
+ * invoked before VFS_FHTOVP to validate that a client has access to the
  * file system.
  */
 
@@ -557,7 +557,7 @@
        if ((rnh = nep->ne_rtable[i]) == 0) {
                /*
                 * Seems silly to initialize every AF when most are not
-                * used, do so on demand here
+                * used, do so on demand here.
                 */
                DOMAIN_FOREACH(dom) {
                        if (dom->dom_family == i && dom->dom_rtattach) {
@@ -734,7 +734,7 @@
        size_t fhsize;
 
        /*
-        * mp == NULL -> invalidate the current info, the FS is
+        * mp == NULL --> invalidate the current info; the FS is
         * no longer exported. May be called from either export
         * or unmount, so check if it hasn't already been done.
         */
@@ -809,7 +809,7 @@
 }
 
 /*
- * Lookup an export entry in the exports list that matches the address
+ * Look up an export entry in the exports list that matches the address
  * stored in 'nam'.  If no entry is found, the default one is used instead
  * (if available).
  */
@@ -825,7 +825,7 @@
        }
 
        /*
-        * Lookup in the export list first.
+        * Look in the export list first.
         */
        np = NULL;
        if (nam != NULL) {



Home | Main Index | Thread Index | Old Index