Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern As VOP_ADVLOCK() may block indefinitely we cannot t...
details: https://anonhg.NetBSD.org/src/rev/692a74553866
branches: trunk
changeset: 825381:692a74553866
user: hannken <hannken%NetBSD.org@localhost>
date: Wed Jul 12 09:31:07 2017 +0000
description:
As VOP_ADVLOCK() may block indefinitely we cannot take fstrans here.
Fixes PR kern/52364: System hangs not much before showing the login prompt
diffstat:
sys/kern/vnode_if.src | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r ffac2db97ad6 -r 692a74553866 sys/kern/vnode_if.src
--- a/sys/kern/vnode_if.src Wed Jul 12 09:30:16 2017 +0000
+++ b/sys/kern/vnode_if.src Wed Jul 12 09:31:07 2017 +0000
@@ -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 @@
#% advlock vp U U U
#
vop_advlock {
+ FSTRANS=NO
IN LOCKED=NO struct vnode *vp;
IN void *id;
IN int op;
Home |
Main Index |
Thread Index |
Old Index