Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Tiny fix for namecache locking rules.



details:   https://anonhg.NetBSD.org/src/rev/2d3f2937d9a8
branches:  trunk
changeset: 822463:2d3f2937d9a8
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Tue Mar 21 10:20:12 2017 +0000

description:
Tiny fix for namecache locking rules.

diffstat:

 sys/sys/namei.src |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 03535f595883 -r 2d3f2937d9a8 sys/sys/namei.src
--- a/sys/sys/namei.src Tue Mar 21 10:12:28 2017 +0000
+++ b/sys/sys/namei.src Tue Mar 21 10:20:12 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: namei.src,v 1.40 2017/03/19 10:21:02 riastradh Exp $   */
+/*     $NetBSD: namei.src,v 1.41 2017/03/21 10:20:12 riastradh Exp $   */
 
 /*
  * Copyright (c) 1985, 1989, 1991, 1993
@@ -207,7 +207,7 @@
  *      -       stable after initialization
  *      L       namecache_lock
  *      C       struct nchcpu::cpu_lock
- *      L/C     insert/delete needs L and C, read needs L or any C,
+ *      L/C     insert needs L, read needs L or any C,
  *              must hold L and all C after (or during) delete before free
  *      N       struct namecache::nc_lock
  */



Home | Main Index | Thread Index | Old Index