Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/tmpfs Fix previous, add __diagused.
details: https://anonhg.NetBSD.org/src/rev/9b0ee25ad979
branches: trunk
changeset: 791562:9b0ee25ad979
user: rmind <rmind%NetBSD.org@localhost>
date: Sat Nov 23 17:01:07 2013 +0000
description:
Fix previous, add __diagused.
diffstat:
sys/fs/tmpfs/tmpfs_vnops.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r fd112bfff042 -r 9b0ee25ad979 sys/fs/tmpfs/tmpfs_vnops.c
--- a/sys/fs/tmpfs/tmpfs_vnops.c Sat Nov 23 16:57:52 2013 +0000
+++ b/sys/fs/tmpfs/tmpfs_vnops.c Sat Nov 23 17:01:07 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tmpfs_vnops.c,v 1.107 2013/11/23 16:35:32 rmind Exp $ */
+/* $NetBSD: tmpfs_vnops.c,v 1.108 2013/11/23 17:01:07 rmind Exp $ */
/*
* Copyright (c) 2005, 2006, 2007 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tmpfs_vnops.c,v 1.107 2013/11/23 16:35:32 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tmpfs_vnops.c,v 1.108 2013/11/23 17:01:07 rmind Exp $");
#include <sys/param.h>
#include <sys/dirent.h>
@@ -377,7 +377,7 @@
int a_fflag;
kauth_cred_t a_cred;
} */ *ap = v;
- vnode_t *vp = ap->a_vp;
+ vnode_t *vp __diagused = ap->a_vp;
KASSERT(VOP_ISLOCKED(vp));
return 0;
@@ -642,7 +642,7 @@
off_t a_offhi;
struct lwp *a_l;
} */ *ap = v;
- vnode_t *vp = ap->a_vp;
+ vnode_t *vp __diagused = ap->a_vp;
/* Nothing to do. Should be up to date. */
KASSERT(VOP_ISLOCKED(vp));
Home |
Main Index |
Thread Index |
Old Index