diff options
author | dg <dg@FreeBSD.org> | 1995-08-06 11:59:48 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-08-06 11:59:48 +0000 |
commit | c82996e4a73c7ca8e5a0723803e5dd5a3d526967 (patch) | |
tree | a891438cacf3d442a513044aa3638de0728f1424 /sys/ufs | |
parent | cf5a82361679c8051f484f659770f0c3a9871ce6 (diff) | |
download | FreeBSD-src-c82996e4a73c7ca8e5a0723803e5dd5a3d526967.zip FreeBSD-src-c82996e4a73c7ca8e5a0723803e5dd5a3d526967.tar.gz |
Removed redundant call to vm_object_page_clean: this is already handled
by vfs_msync().
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/lfs/lfs_vnops.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/ufs/lfs/lfs_vnops.c b/sys/ufs/lfs/lfs_vnops.c index d05953e..ccf4908 100644 --- a/sys/ufs/lfs/lfs_vnops.c +++ b/sys/ufs/lfs/lfs_vnops.c @@ -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)); |