Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/sys/kern fix one more mountlist instant
details: https://anonhg.NetBSD.org/src/rev/30c626ed30a5
branches: trunk
changeset: 791610:30c626ed30a5
user: christos <christos%NetBSD.org@localhost>
date: Mon Nov 25 22:48:05 2013 +0000
description:
fix one more mountlist instant
diffstat:
external/cddl/osnet/sys/kern/vfs.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (20 lines):
diff -r 8fb2c8872a1f -r 30c626ed30a5 external/cddl/osnet/sys/kern/vfs.c
--- a/external/cddl/osnet/sys/kern/vfs.c Mon Nov 25 22:43:46 2013 +0000
+++ b/external/cddl/osnet/sys/kern/vfs.c Mon Nov 25 22:48:05 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs.c,v 1.4 2011/04/02 04:57:35 rmind Exp $ */
+/* $NetBSD: vfs.c,v 1.5 2013/11/25 22:48:05 christos Exp $ */
/*-
* Copyright (c) 2006-2007 Pawel Jakub Dawidek <pjd%FreeBSD.org@localhost>
@@ -324,9 +324,7 @@
vp->v_iflag &= ~VI_MOUNT;
simple_unlock(&vp->v_interlock);
vp->v_mountedhere = mp;
- mutex_enter(&mountlist_lock);
- CIRCLEQ_INSERT_TAIL(&mountlist, mp, mnt_list);
- mutex_exit(&mountlist_lock);
+ mountlist_append(mp);
vfs_event_signal(NULL, VQ_MOUNT, 0);
if (VFS_ROOT(mp, LK_EXCLUSIVE, &mvp, td))
panic("mount: lost mount");
Home |
Main Index |
Thread Index |
Old Index