Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/pstat Don't check lfs flags on ffs vnodes.
details: https://anonhg.NetBSD.org/src/rev/7822b6542477
branches: trunk
changeset: 329488:7822b6542477
user: dholland <dholland%NetBSD.org@localhost>
date: Mon May 26 20:07:25 2014 +0000
description:
Don't check lfs flags on ffs vnodes.
diffstat:
usr.sbin/pstat/pstat.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (37 lines):
diff -r 1dbadb80e74a -r 7822b6542477 usr.sbin/pstat/pstat.c
--- a/usr.sbin/pstat/pstat.c Mon May 26 19:55:53 2014 +0000
+++ b/usr.sbin/pstat/pstat.c Mon May 26 20:07:25 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pstat.c,v 1.123 2014/03/24 13:42:41 hannken Exp $ */
+/* $NetBSD: pstat.c,v 1.124 2014/05/26 20:07:25 dholland Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993, 1994
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)pstat.c 8.16 (Berkeley) 5/9/95";
#else
-__RCSID("$NetBSD: pstat.c,v 1.123 2014/03/24 13:42:41 hannken Exp $");
+__RCSID("$NetBSD: pstat.c,v 1.124 2014/05/26 20:07:25 dholland Exp $");
#endif
#endif /* not lint */
@@ -330,6 +330,9 @@
maddr = vp->v_mount;
mount_print(mp);
vnode_header();
+ /*
+ * XXX do this in a more fs-independent way
+ */
if (FSTYPE_IS(mp, MOUNT_FFS) ||
FSTYPE_IS(mp, MOUNT_MFS)) {
ufs_header();
@@ -455,8 +458,6 @@
{ IN_ACCESSED, 'a' },
{ IN_SHLOCK, 'S' },
{ IN_EXLOCK, 'E' },
- { IN_CLEANING, 'c' },
- { IN_ADIROP, 'D' },
{ IN_SPACECOUNTED, 's' },
{ 0, '\0' },
};
Home |
Main Index |
Thread Index |
Old Index