put sync printing in one place

This commit is contained in:
cgd 1994-05-18 00:35:07 +00:00
parent 577c5b3d55
commit 6dad8d7a8a
3 changed files with 3 additions and 11 deletions

View File

@ -1 +1 @@
revision 1.26 intentionally removed
revision 1.27 intentionally removed

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)nfs_vfsops.c 7.31 (Berkeley) 5/6/91
* $Id: nfs_vfsops.c,v 1.19 1994/05/13 06:12:51 mycroft Exp $
* $Id: nfs_vfsops.c,v 1.20 1994/05/18 00:35:17 cgd Exp $
*/
#include <sys/param.h>
@ -583,8 +583,6 @@ nfs_root(mp, vpp)
return (0);
}
extern int syncprt;
/*
* Flush out the buffer cache
*/
@ -593,8 +591,6 @@ nfs_sync(mp, waitfor)
struct mount *mp;
int waitfor;
{
if (syncprt)
bufstats();
/*
* Force stale buffer cache information to be flushed.
*/

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)ufs_vfsops.c 7.56 (Berkeley) 6/28/91
* $Id: ufs_vfsops.c,v 1.15 1994/05/17 04:26:19 cgd Exp $
* $Id: ufs_vfsops.c,v 1.16 1994/05/18 00:35:13 cgd Exp $
*/
#include <sys/param.h>
@ -517,8 +517,6 @@ ufs_statfs(mp, sbp, p)
return (0);
}
extern int syncprt;
/*
* Go through the disk queues to initiate sandbagged IO;
* go through the inodes to write those that have been modified;
@ -536,8 +534,6 @@ ufs_sync(mp, waitfor)
register struct fs *fs;
int error, allerror = 0;
if (syncprt)
bufstats();
fs = ump->um_fs;
/*
* Write back modified superblock.