Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Nix trailing whitespace. NFCI.



details:   https://anonhg.NetBSD.org/src/rev/af32c0d45f33
branches:  trunk
changeset: 934023:af32c0d45f33
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Jun 04 03:08:33 2020 +0000

description:
Nix trailing whitespace.  NFCI.

diffstat:

 sys/kern/vfs_cache.c |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (63 lines):

diff -r d2d22f836d14 -r af32c0d45f33 sys/kern/vfs_cache.c
--- a/sys/kern/vfs_cache.c      Thu Jun 04 00:45:32 2020 +0000
+++ b/sys/kern/vfs_cache.c      Thu Jun 04 03:08:33 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_cache.c,v 1.146 2020/05/30 20:16:14 ad Exp $       */
+/*     $NetBSD: vfs_cache.c,v 1.147 2020/06/04 03:08:33 riastradh Exp $        */
 
 /*-
  * Copyright (c) 2008, 2019, 2020 The NetBSD Foundation, Inc.
@@ -98,7 +98,7 @@
  *          ...
  *           ^
  *           |- vi_nc_tree
- *           |                                                           
+ *           |
  *      +----o----+               +---------+               +---------+
  *      |  VDIR   |               |  VCHR   |               |  VREG   |
  *      |  vnode  o-----+         |  vnode  o-----+         |  vnode  o------+
@@ -172,7 +172,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_cache.c,v 1.146 2020/05/30 20:16:14 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_cache.c,v 1.147 2020/06/04 03:08:33 riastradh Exp $");
 
 #define __NAMECACHE_PRIVATE
 #ifdef _KERNEL_OPT
@@ -416,7 +416,7 @@
        /*
         * Search the RB tree for the key.  This is an inlined lookup
         * tailored for exactly what's needed here (64-bit key and so on)
-        * that is quite a bit faster than using rb_tree_find_node(). 
+        * that is quite a bit faster than using rb_tree_find_node().
         *
         * For a matching key memcmp() needs to be called once to confirm
         * that the correct name has been found.  Very rarely there will be
@@ -435,7 +435,7 @@
                        if (__predict_true(diff == 0)) {
                                break;
                        }
-                       node = node->rb_nodes[diff < 0];                        
+                       node = node->rb_nodes[diff < 0];
                } else {
                        node = node->rb_nodes[ncp->nc_key < key];
                }
@@ -745,7 +745,7 @@
        }
        if (newlock) {
                *plock = newlock;
-       }       
+       }
        *vn_ret = ncp->nc_vp;
        return true;
 }
@@ -1312,7 +1312,7 @@
 
 /*
  * Try to balance the LRU lists.  Pick some victim entries, and re-queue
- * them from the head of the active list to the tail of the inactive list. 
+ * them from the head of the active list to the tail of the inactive list.
  */
 static void
 cache_deactivate(void)



Home | Main Index | Thread Index | Old Index