Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/miscfs v_interlock -> vmobjlock
details: https://anonhg.NetBSD.org/src/rev/9b46e0552646
branches: trunk
changeset: 745192:9b46e0552646
user: ad <ad%NetBSD.org@localhost>
date: Mon Feb 24 20:44:25 2020 +0000
description:
v_interlock -> vmobjlock
diffstat:
sys/miscfs/kernfs/kernfs_vnops.c | 6 +++---
sys/miscfs/procfs/procfs_vnops.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r fc62503b98e5 -r 9b46e0552646 sys/miscfs/kernfs/kernfs_vnops.c
--- a/sys/miscfs/kernfs/kernfs_vnops.c Mon Feb 24 20:42:18 2020 +0000
+++ b/sys/miscfs/kernfs/kernfs_vnops.c Mon Feb 24 20:44:25 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kernfs_vnops.c,v 1.163 2020/02/04 04:19:24 riastradh Exp $ */
+/* $NetBSD: kernfs_vnops.c,v 1.164 2020/02/24 20:44:25 ad Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kernfs_vnops.c,v 1.163 2020/02/04 04:19:24 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kernfs_vnops.c,v 1.164 2020/02/24 20:44:25 ad Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1229,7 +1229,7 @@
} */ *ap = v;
if ((ap->a_flags & PGO_LOCKED) == 0)
- mutex_exit(ap->a_vp->v_interlock);
+ rw_exit(ap->a_vp->v_uobj.vmobjlock);
return (EFAULT);
}
diff -r fc62503b98e5 -r 9b46e0552646 sys/miscfs/procfs/procfs_vnops.c
--- a/sys/miscfs/procfs/procfs_vnops.c Mon Feb 24 20:42:18 2020 +0000
+++ b/sys/miscfs/procfs/procfs_vnops.c Mon Feb 24 20:44:25 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: procfs_vnops.c,v 1.209 2020/02/23 22:14:04 ad Exp $ */
+/* $NetBSD: procfs_vnops.c,v 1.210 2020/02/24 20:47:41 ad Exp $ */
/*-
* Copyright (c) 2006, 2007, 2008, 2020 The NetBSD Foundation, Inc.
@@ -105,7 +105,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: procfs_vnops.c,v 1.209 2020/02/23 22:14:04 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: procfs_vnops.c,v 1.210 2020/02/24 20:47:41 ad Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -1739,7 +1739,7 @@
} */ *ap = v;
if ((ap->a_flags & PGO_LOCKED) == 0)
- mutex_exit(ap->a_vp->v_interlock);
+ rw_exit(ap->a_vp->v_uobj.vmobjlock);
return (EFAULT);
}
Home |
Main Index |
Thread Index |
Old Index