summaryrefslogtreecommitdiff
path: root/sys/xfs/xfs_vnodeops-bsd.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-06-01 23:47:58 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-06-01 23:47:58 +0000
commit2c88a4441fc7f8daffe457a6412871272f744fe2 (patch)
treef7b527f772544a64b3346969753e3319c8de66e0 /sys/xfs/xfs_vnodeops-bsd.c
parent980158b9fd0f04fd96168924ec21adf0d6e00253 (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/xfs/xfs_vnodeops-bsd.c')
-rw-r--r--sys/xfs/xfs_vnodeops-bsd.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/xfs/xfs_vnodeops-bsd.c b/sys/xfs/xfs_vnodeops-bsd.c
index 90459965856..4fc2a70ed8f 100644
--- a/sys/xfs/xfs_vnodeops-bsd.c
+++ b/sys/xfs/xfs_vnodeops-bsd.c
@@ -1173,9 +1173,7 @@ xfs_cntl(struct vnode * vp,
int
xfs_print (struct vop_print_args *v)
{
- struct vop_print_args /* {
- struct vnode *a_vp;
- } */ *ap = v;
+ struct vop_print_args *ap = v;
xfs_printnode_common (ap->a_vp);
return 0;
}
@@ -1185,13 +1183,7 @@ xfs_print (struct vop_print_args *v)
int
xfs_advlock(struct vop_advlock_args *v)
{
- struct vop_advlock_args /* {
- struct vnode *a_vp;
- caddr_t a_id;
- int a_op;
- struct flock *a_fl;
- int a_flags;
- } */ *ap = v;
+ struct vop_advlock_args *ap = v;
#if defined(HAVE_KERNEL_LF_ADVLOCK) && !defined(__APPLE__)
struct xfs_node *xn = VNODE_TO_XNODE(ap->a_vp);