Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/miscfs/specfs Make the non-DIAGNOSTIC version compile
details: https://anonhg.NetBSD.org/src/rev/77196c9f2146
branches: trunk
changeset: 352842:77196c9f2146
user: martin <martin%NetBSD.org@localhost>
date: Wed Apr 12 06:43:56 2017 +0000
description:
Make the non-DIAGNOSTIC version compile
diffstat:
sys/miscfs/specfs/spec_vnops.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 00215726a35f -r 77196c9f2146 sys/miscfs/specfs/spec_vnops.c
--- a/sys/miscfs/specfs/spec_vnops.c Wed Apr 12 06:22:16 2017 +0000
+++ b/sys/miscfs/specfs/spec_vnops.c Wed Apr 12 06:43:56 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: spec_vnops.c,v 1.170 2017/04/11 14:25:01 riastradh Exp $ */
+/* $NetBSD: spec_vnops.c,v 1.171 2017/04/12 06:43:56 martin Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spec_vnops.c,v 1.170 2017/04/11 14:25:01 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spec_vnops.c,v 1.171 2017/04/12 06:43:56 martin Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -1086,9 +1086,8 @@
struct vnode *a_vp;
struct bool *a_recycle;
} */ *ap = v;
- struct vnode *vp = ap->a_vp;
- KASSERT(vp->v_mount == dead_rootmount);
+ KASSERT(ap->a_vp->v_mount == dead_rootmount);
*ap->a_recycle = true;
return 0;
Home |
Main Index |
Thread Index |
Old Index