Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/lfs Fix non-DIAGNOSTIC build by using vp outside KAS...
details: https://anonhg.NetBSD.org/src/rev/01d80223fafc
branches: trunk
changeset: 352803:01d80223fafc
user: riastradh <riastradh%NetBSD.org@localhost>
date: Tue Apr 11 06:01:03 2017 +0000
description:
Fix non-DIAGNOSTIC build by using vp outside KASSERT too.
diffstat:
sys/ufs/lfs/lfs_vnops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e7fd28665bf9 -r 01d80223fafc sys/ufs/lfs/lfs_vnops.c
--- a/sys/ufs/lfs/lfs_vnops.c Tue Apr 11 05:48:04 2017 +0000
+++ b/sys/ufs/lfs/lfs_vnops.c Tue Apr 11 06:01:03 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_vnops.c,v 1.311 2017/04/11 05:48:04 riastradh Exp $ */
+/* $NetBSD: lfs_vnops.c,v 1.312 2017/04/11 06:01:03 riastradh Exp $ */
/*-
* Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -125,7 +125,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lfs_vnops.c,v 1.311 2017/04/11 05:48:04 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_vnops.c,v 1.312 2017/04/11 06:01:03 riastradh Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -2272,7 +2272,7 @@
KASSERT(VOP_ISLOCKED(vp) == LK_EXCLUSIVE);
- ip = VTOI(ap->a_vp);
+ ip = VTOI(vp);
ump = ip->i_ump;
/* Not supported for ULFS1 file systems. */
Home |
Main Index |
Thread Index |
Old Index