mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-17 08:00:48 +01:00
Comment out a call to the #ifdef DIAGNOSTIC routine
vfs_bufstats(). This routine was not imported in the Lite2 merge.
This commit is contained in:
parent
469321d858
commit
820d8cf44a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22578
@ -487,10 +487,16 @@ sync(p, uap, retval)
|
||||
vfs_unbusy(mp, p);
|
||||
}
|
||||
simple_unlock(&mountlist_slock);
|
||||
#if 0
|
||||
/*
|
||||
* XXX don't call vfs_bufstats() yet because that routine
|
||||
* was not imported in the Lite2 merge.
|
||||
*/
|
||||
#ifdef DIAGNOSTIC
|
||||
if (syncprt)
|
||||
vfs_bufstats();
|
||||
#endif /* DIAGNOSTIC */
|
||||
#endif
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
@ -487,10 +487,16 @@ sync(p, uap, retval)
|
||||
vfs_unbusy(mp, p);
|
||||
}
|
||||
simple_unlock(&mountlist_slock);
|
||||
#if 0
|
||||
/*
|
||||
* XXX don't call vfs_bufstats() yet because that routine
|
||||
* was not imported in the Lite2 merge.
|
||||
*/
|
||||
#ifdef DIAGNOSTIC
|
||||
if (syncprt)
|
||||
vfs_bufstats();
|
||||
#endif /* DIAGNOSTIC */
|
||||
#endif
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user