diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-06-01 23:47:58 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-06-01 23:47:58 +0000 |
commit | 2c88a4441fc7f8daffe457a6412871272f744fe2 (patch) | |
tree | f7b527f772544a64b3346969753e3319c8de66e0 /sys/kern/vfs_sync.c | |
parent | 980158b9fd0f04fd96168924ec21adf0d6e00253 (diff) |
pedro ok'd this ~3500 line diff which removes the vop argument
"ap = v" comments in under 8 seconds, so it must be ok. and it compiles
too.
Diffstat (limited to 'sys/kern/vfs_sync.c')
-rw-r--r-- | sys/kern/vfs_sync.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/sys/kern/vfs_sync.c b/sys/kern/vfs_sync.c index f859fab4061..01b8f766784 100644 --- a/sys/kern/vfs_sync.c +++ b/sys/kern/vfs_sync.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_sync.c,v 1.42 2006/11/18 10:19:59 jmc Exp $ */ +/* $OpenBSD: vfs_sync.c,v 1.43 2007/06/01 23:47:56 deraadt Exp $ */ /* * Portions of this code are: @@ -327,13 +327,7 @@ vfs_allocate_syncvnode(struct mount *mp) int sync_fsync(void *v) { - struct vop_fsync_args /* { - struct vnodeop_desc *a_desc; - struct vnode *a_vp; - struct ucred *a_cred; - int a_waitfor; - struct proc *a_p; - } */ *ap = v; + struct vop_fsync_args *ap = v; struct vnode *syncvp = ap->a_vp; struct mount *mp = syncvp->v_mount; int asyncflag; @@ -371,11 +365,7 @@ sync_fsync(void *v) int sync_inactive(void *v) { - struct vop_inactive_args /* { - struct vnodeop_desc *a_desc; - struct vnode *a_vp; - struct proc *a_p; - } */ *ap = v; + struct vop_inactive_args *ap = v; struct vnode *vp = ap->a_vp; int s; |