summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_bio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r--sys/kern/vfs_bio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 239ee5a..f75963d 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -3778,10 +3778,10 @@ bwait(struct buf *bp, u_char pri, const char *wchan)
}
int
-bufsync(struct bufobj *bo, int waitfor, struct thread *td)
+bufsync(struct bufobj *bo, int waitfor)
{
- return (VOP_FSYNC(bo->__bo_vnode, waitfor, td));
+ return (VOP_FSYNC(bo->__bo_vnode, waitfor, curthread));
}
void
OpenPOWER on IntegriCloud