Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Stop clearing "v_mountedhere" in mount_domount() er...
details: https://anonhg.NetBSD.org/src/rev/c9f3a5cafcd2
branches: trunk
changeset: 359969:c9f3a5cafcd2
user: hannken <hannken%NetBSD.org@localhost>
date: Fri Feb 04 15:33:57 2022 +0000
description:
Stop clearing "v_mountedhere" in mount_domount() error path.
We did not set it and may clear the value from another mount.
diffstat:
sys/kern/vfs_mount.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 176d9fa80327 -r c9f3a5cafcd2 sys/kern/vfs_mount.c
--- a/sys/kern/vfs_mount.c Fri Feb 04 06:16:03 2022 +0000
+++ b/sys/kern/vfs_mount.c Fri Feb 04 15:33:57 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_mount.c,v 1.86 2021/02/16 09:56:32 hannken Exp $ */
+/* $NetBSD: vfs_mount.c,v 1.87 2022/02/04 15:33:57 hannken Exp $ */
/*-
* Copyright (c) 1997-2020 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_mount.c,v 1.86 2021/02/16 09:56:32 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_mount.c,v 1.87 2022/02/04 15:33:57 hannken Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -846,7 +846,6 @@
vfs_resume(mp);
err_unmounted:
- vp->v_mountedhere = NULL;
mutex_exit(mp->mnt_updating);
vfs_rele(mp);
Home |
Main Index |
Thread Index |
Old Index