Source-Changes-HG archive

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

[src/trunk]: src/sys/kern vn_lock: LK_CANRECURSE is used by layered filesyste...



details:   https://anonhg.NetBSD.org/src/rev/13279809584a
branches:  trunk
changeset: 586782:13279809584a
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sun Jan 01 16:45:42 2006 +0000

description:
vn_lock: LK_CANRECURSE is used by layered filesystems.  pointed by cube@.

diffstat:

 sys/kern/vfs_vnops.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r aa0857f90b18 -r 13279809584a sys/kern/vfs_vnops.c
--- a/sys/kern/vfs_vnops.c      Sun Jan 01 15:05:32 2006 +0000
+++ b/sys/kern/vfs_vnops.c      Sun Jan 01 16:45:42 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_vnops.c,v 1.103 2005/12/31 14:33:13 yamt Exp $     */
+/*     $NetBSD: vfs_vnops.c,v 1.104 2006/01/01 16:45:42 yamt Exp $     */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1993
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_vnops.c,v 1.103 2005/12/31 14:33:13 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_vnops.c,v 1.104 2006/01/01 16:45:42 yamt Exp $");
 
 #include "opt_verified_exec.h"
 
@@ -707,7 +707,7 @@
 #endif
        KASSERT((flags &
            ~(LK_INTERLOCK|LK_SHARED|LK_EXCLUSIVE|LK_DRAIN|LK_NOWAIT|LK_RETRY|
-           LK_SETRECURSE))
+           LK_SETRECURSE|LK_CANRECURSE))
            == 0);
 
        do {



Home | Main Index | Thread Index | Old Index