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 Lucistnik 2007-05-12 13:10:55 +00:00
parent 688b60bfcc
commit 1cf95db60f
2 changed files with 3 additions and 7 deletions

View File

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

View File

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