diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-06-23 02:14:41 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-06-23 02:14:41 +0000 |
commit | 29a9d7776db7cbab30bc2d6af24d069b147587f5 (patch) | |
tree | 06b99f878537fc01966c36dbcc53fb50804e01e9 /sys/ufs/ffs/ffs_inode.c | |
parent | 7a6687eb64e6597c95207ad1d28b714e510d014c (diff) |
remove obsolete vtrace guts; art@
Diffstat (limited to 'sys/ufs/ffs/ffs_inode.c')
-rw-r--r-- | sys/ufs/ffs/ffs_inode.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/ufs/ffs/ffs_inode.c b/sys/ufs/ffs/ffs_inode.c index 225ccc23acb..b9f1ad90b8d 100644 --- a/sys/ufs/ffs/ffs_inode.c +++ b/sys/ufs/ffs/ffs_inode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_inode.c,v 1.15 1999/12/06 07:23:21 art Exp $ */ +/* $OpenBSD: ffs_inode.c,v 1.16 2000/06/23 02:14:39 mickey Exp $ */ /* $NetBSD: ffs_inode.c,v 1.10 1996/05/11 18:27:19 mycroft Exp $ */ /* @@ -45,7 +45,6 @@ #include <sys/vnode.h> #include <sys/kernel.h> #include <sys/malloc.h> -#include <sys/trace.h> #include <sys/resourcevar.h> #include <vm/vm.h> @@ -490,11 +489,7 @@ ffs_indirtrunc(ip, lbn, dbn, lastbn, level, countp) */ vp = ITOV(ip); bp = getblk(vp, lbn, (int)fs->fs_bsize, 0, 0); - if (bp->b_flags & (B_DONE | B_DELWRI)) { - /* Braces must be here in case trace evaluates to nothing. */ - trace(TR_BREADHIT, pack(vp, fs->fs_bsize), lbn); - } else { - trace(TR_BREADMISS, pack(vp, fs->fs_bsize), lbn); + if (!(bp->b_flags & (B_DONE | B_DELWRI))) { curproc->p_stats->p_ru.ru_inblock++; /* pay for read */ bp->b_flags |= B_READ; if (bp->b_bcount > bp->b_bufsize) |