summaryrefslogtreecommitdiffstats
path: root/share/man/man9/VOP_FSYNC.9
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-05-12 13:10:55 +0000
committerpav <pav@FreeBSD.org>2007-05-12 13:10:55 +0000
commit36a46e2d9f71a808085f3c11a63a352048ee2c89 (patch)
treef2bf668a49e6c47edec90afe05520467454cdea1 /share/man/man9/VOP_FSYNC.9
parentc2655594fb28027bea5c849b3099a6a6f4170821 (diff)
downloadFreeBSD-src-36a46e2d9f71a808085f3c11a63a352048ee2c89.zip
FreeBSD-src-36a46e2d9f71a808085f3c11a63a352048ee2c89.tar.gz
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
Diffstat (limited to 'share/man/man9/VOP_FSYNC.9')
-rw-r--r--share/man/man9/VOP_FSYNC.96
1 files changed, 2 insertions, 4 deletions
diff --git a/share/man/man9/VOP_FSYNC.9 b/share/man/man9/VOP_FSYNC.9
index a847265..5f7ddd2 100644
--- a/share/man/man9/VOP_FSYNC.9
+++ b/share/man/man9/VOP_FSYNC.9
@@ -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;
OpenPOWER on IntegriCloud