Module Name: src Committed By: dholland Date: Mon May 26 20:07:25 UTC 2014
Modified Files: src/usr.sbin/pstat: pstat.c Log Message: Don't check lfs flags on ffs vnodes. To generate a diff of this commit: cvs rdiff -u -r1.123 -r1.124 src/usr.sbin/pstat/pstat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/pstat/pstat.c diff -u src/usr.sbin/pstat/pstat.c:1.123 src/usr.sbin/pstat/pstat.c:1.124 --- src/usr.sbin/pstat/pstat.c:1.123 Mon Mar 24 13:42:41 2014 +++ src/usr.sbin/pstat/pstat.c Mon May 26 20:07:25 2014 @@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 19 #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 @@ vnodemode(void) 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 @@ const struct flagbit_desc ufs_flags[] = { IN_ACCESSED, 'a' }, { IN_SHLOCK, 'S' }, { IN_EXLOCK, 'E' }, - { IN_CLEANING, 'c' }, - { IN_ADIROP, 'D' }, { IN_SPACECOUNTED, 's' }, { 0, '\0' }, };