Remove cred argument, which was removed from code by phk two years ago

PR:		docs/110200
Submitted by:	Jamie Jones <jamie@bishopston.net>
MFC after:	1 week
This commit is contained in:
pav 2007-05-12 13:10:55 +00:00
parent c2655594fb
commit 36a46e2d9f
2 changed files with 3 additions and 7 deletions

View File

@ -39,7 +39,7 @@
.In sys/mount.h
.In sys/vnode.h
.Ft int
.Fn VFS_SYNC "struct mount *mp" "int waitfor" "struct ucred *cred" "struct thread *td"
.Fn VFS_SYNC "struct mount *mp" "int waitfor" "struct thread *td"
.Sh DESCRIPTION
The
.Fn VFS_SYNC
@ -61,8 +61,6 @@ start all I/O, but do not wait for it
.It Dv MNT_LAZY
push data not written by file system syncer
.El
.It Fa cred
The caller's credentials.
.It Fa td
The calling thread.
.El

View File

@ -38,7 +38,7 @@
.In sys/param.h
.In sys/vnode.h
.Ft int
.Fn VOP_FSYNC "struct vnode *vp" "struct ucred *cred" "int waitfor" "struct thread *td"
.Fn VOP_FSYNC "struct vnode *vp" "int waitfor" "struct thread *td"
.Sh DESCRIPTION
This call flushes any dirty file system buffers for the file.
It is used to implement the
@ -51,8 +51,6 @@ Its arguments are:
.Bl -tag -width waitfor
.It Fa vp
The vnode of the file.
.It Fa cred
The caller's credentials.
.It Fa waitfor
Whether the function should wait for I/O to complete.
Possible values are:
@ -84,7 +82,7 @@ error code is returned.
.Sh PSEUDOCODE
.Bd -literal
int
vop_fsync(struct vnode *vp, struct ucred *cred, int waitfor, struct thread *td)
vop_fsync(struct vnode *vp, int waitfor, struct thread *td)
{
struct buf *bp;
struct buf *nbp;