1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

Removed redundant call to vm_object_page_clean: this is already handled

by vfs_msync().
This commit is contained in:
David Greenman 1995-08-06 11:59:48 +00:00
parent b6dedae69b
commit a8ce4271e2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9968

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)lfs_vnops.c 8.5 (Berkeley) 12/30/93
* $Id: lfs_vnops.c,v 1.12 1995/07/13 08:48:07 davidg Exp $
* $Id: lfs_vnops.c,v 1.13 1995/08/01 18:51:01 davidg Exp $
*/
#include <sys/param.h>
@ -234,12 +234,6 @@ lfs_fsync(ap)
struct timeval tv;
int error;
tv = time;
/*
* If the vnode has an object, then flush all of the dirty pages
* into the buffer cache.
*/
if (ap->a_vp->v_object)
vm_object_page_clean(ap->a_vp->v_object, 0, 0, 0, TRUE);
error = (VOP_UPDATE(ap->a_vp, &tv, &tv,
ap->a_waitfor == MNT_WAIT ? LFS_SYNC : 0));