From d29c150b3bac0a3d36bda7c7a26242c40e6cb15e Mon Sep 17 00:00:00 2001 From: hannken Date: Wed, 12 Jul 2017 09:31:07 +0000 Subject: [PATCH] As VOP_ADVLOCK() may block indefinitely we cannot take fstrans here. Fixes PR kern/52364: System hangs not much before showing the login prompt --- sys/kern/vnode_if.src | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/kern/vnode_if.src b/sys/kern/vnode_if.src index 8caa764ee277..85282422e335 100644 --- a/sys/kern/vnode_if.src +++ b/sys/kern/vnode_if.src @@ -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;