Add start and end parameters to the fsync VOP, giving a range of the

file to write out. If both are 0, the whole file is synced. A filesystem
that is not able to sync out a range of a file may elect to sync
the whole file anyway.
This commit is contained in:
fvdl 2000-09-19 21:57:14 +00:00
parent fec34c3630
commit bf60f8be2e

View File

@ -1,4 +1,4 @@
# $NetBSD: vnode_if.src,v 1.24 2000/05/13 23:43:07 perseant Exp $
# $NetBSD: vnode_if.src,v 1.25 2000/09/19 21:57:14 fvdl Exp $
#
# Copyright (c) 1992, 1993
# The Regents of the University of California. All rights reserved.
@ -252,6 +252,8 @@ vop_fsync {
IN struct vnode *vp;
IN struct ucred *cred;
IN int flags;
IN off_t offlo
IN off_t offhi
IN struct proc *p;
};