diff options
author | Rainer Giedat <rainer@cvs.openbsd.org> | 2008-06-13 01:59:46 +0000 |
---|---|---|
committer | Rainer Giedat <rainer@cvs.openbsd.org> | 2008-06-13 01:59:46 +0000 |
commit | 49042c5b27208510281d83d244db4a58ae65e993 (patch) | |
tree | 57f2acbd9ef1ace396419f4d0e4a7027282a3992 /sys | |
parent | f852a1ba68da3e7a5c9eaef6a4d5984bf61d72dd (diff) |
Delete vfs_bufstats() leftovers and unbreak compile with -DDEBUG
Ok reyk@, "kill kill kill" thib@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/vfs_syscalls.c | 6 | ||||
-rw-r--r-- | sys/sys/mount.h | 3 |
2 files changed, 2 insertions, 7 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index ec94aabf74a..1d3ca1c5e61 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_syscalls.c,v 1.146 2008/05/22 17:04:59 thib Exp $ */ +/* $OpenBSD: vfs_syscalls.c,v 1.147 2008/06/13 01:59:45 rainer Exp $ */ /* $NetBSD: vfs_syscalls.c,v 1.71 1996/04/23 10:29:02 mycroft Exp $ */ /* @@ -489,10 +489,6 @@ sys_sync(struct proc *p, void *v, register_t *retval) vfs_unbusy(mp); } -#ifdef DEBUG - if (syncprt) - vfs_bufstats(); -#endif /* DEBUG */ return (0); } diff --git a/sys/sys/mount.h b/sys/sys/mount.h index 0261a842247..235d9987d35 100644 --- a/sys/sys/mount.h +++ b/sys/sys/mount.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mount.h,v 1.87 2008/06/12 06:58:40 deraadt Exp $ */ +/* $OpenBSD: mount.h,v 1.88 2008/06/13 01:59:45 rainer Exp $ */ /* $NetBSD: mount.h,v 1.48 1996/02/18 11:55:47 fvdl Exp $ */ /* @@ -636,7 +636,6 @@ void vfs_shutdown(void); /* unmount and sync file systems */ long makefstype(char *); int dounmount(struct mount *, int, struct proc *, struct vnode *); void vfsinit(void); -void vfs_bufstats(void); int vfs_register(struct vfsconf *); int vfs_unregister(struct vfsconf *); #else /* _KERNEL */ |