Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Turn off fstrans for VOP_PARSEPATH. Fixes t_umounts...



details:   https://anonhg.NetBSD.org/src/rev/bd1aec432501
branches:  trunk
changeset: 380034:bd1aec432501
user:      dholland <dholland%NetBSD.org@localhost>
date:      Fri Jul 02 16:56:22 2021 +0000

description:
Turn off fstrans for VOP_PARSEPATH. Fixes t_umountstress deadlock.

Diagnosis by hannken@.

diffstat:

 sys/kern/vnode_if.src |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 0ca5d32993ee -r bd1aec432501 sys/kern/vnode_if.src
--- a/sys/kern/vnode_if.src     Fri Jul 02 10:14:07 2021 +0000
+++ b/sys/kern/vnode_if.src     Fri Jul 02 16:56:22 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: vnode_if.src,v 1.81 2021/06/29 22:34:08 dholland Exp $
+#      $NetBSD: vnode_if.src,v 1.82 2021/07/02 16:56:22 dholland Exp $
 #
 # Copyright (c) 1992, 1993
 #      The Regents of the University of California.  All rights reserved.
@@ -60,9 +60,10 @@ vop_bwrite {
 };
 
 #
-#% parsepath  dvp     L L L
+#% parsepath  dvp     = = =
 #
 vop_parsepath {
+       FSTRANS=NO
        IN struct vnode *dvp;
        IN const char *name;
        OUT size_t *retval;



Home | Main Index | Thread Index | Old Index