Module Name:    src
Committed By:   hannken
Date:           Wed Jul 12 09:31:07 UTC 2017

Modified Files:
        src/sys/kern: vnode_if.src

Log Message:
As VOP_ADVLOCK() may block indefinitely we cannot take fstrans here.

Fixes PR kern/52364: System hangs not much before showing the login prompt


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/kern/vnode_if.src

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/vnode_if.src
diff -u src/sys/kern/vnode_if.src:1.76 src/sys/kern/vnode_if.src:1.77
--- src/sys/kern/vnode_if.src:1.76	Sun Jun  4 07:59:17 2017
+++ src/sys/kern/vnode_if.src	Wed Jul 12 09:31:07 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: vnode_if.src,v 1.76 2017/06/04 07:59:17 hannken Exp $
+#	$NetBSD: vnode_if.src,v 1.77 2017/07/12 09:31:07 hannken Exp $
 #
 # Copyright (c) 1992, 1993
 #	The Regents of the University of California.  All rights reserved.
@@ -468,6 +468,7 @@ vop_pathconf {
 #% advlock    vp      U U U
 #
 vop_advlock {
+	FSTRANS=NO
 	IN LOCKED=NO struct vnode *vp;
 	IN void *id;
 	IN int op;

Reply via email to