summaryrefslogtreecommitdiff
path: root/sys/nfsclient/nfs_vfsops.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2005-01-11 07:36:22 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2005-01-11 07:36:22 +0000
commit8df6bac4c74fad8167cbb05a2a358a36b1ce6f78 (patch)
tree7316b582ef3e13abcf40fdc592649edfe19bde75 /sys/nfsclient/nfs_vfsops.c
parentad3142eda4f934d9940348293082cc1392ce550d (diff)
Notes
Diffstat (limited to 'sys/nfsclient/nfs_vfsops.c')
-rw-r--r--sys/nfsclient/nfs_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c
index 4a4d5d23a6e8..81defd982467 100644
--- a/sys/nfsclient/nfs_vfsops.c
+++ b/sys/nfsclient/nfs_vfsops.c
@@ -977,7 +977,7 @@ nfs_root(struct mount *mp, struct vnode **vpp, struct thread *td)
*/
/* ARGSUSED */
static int
-nfs_sync(struct mount *mp, int waitfor, struct ucred *cred, struct thread *td)
+nfs_sync(struct mount *mp, int waitfor, struct thread *td)
{
struct vnode *vp, *nvp;
int error, allerror = 0;
@@ -1001,7 +1001,7 @@ loop:
MNT_ILOCK(mp);
goto loop;
}
- error = VOP_FSYNC(vp, cred, waitfor, td);
+ error = VOP_FSYNC(vp, waitfor, td);
if (error)
allerror = error;
VOP_UNLOCK(vp, 0, td);