summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-06-01 23:52:39 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-06-01 23:52:39 +0000
commitfdc61bbfb3866ef8f584042dd3046085bab0805a (patch)
treeeb32a6fdacf60aeae714887044af13b1abbe94ef /sys
parent2c88a4441fc7f8daffe457a6412871272f744fe2 (diff)
more vop argument "ap = v" comment removal; ok pedro
Diffstat (limited to 'sys')
-rw-r--r--sys/ntfs/ntfs_vnops.c106
1 files changed, 17 insertions, 89 deletions
diff --git a/sys/ntfs/ntfs_vnops.c b/sys/ntfs/ntfs_vnops.c
index 83b957fc56c..8f3439c40e3 100644
--- a/sys/ntfs/ntfs_vnops.c
+++ b/sys/ntfs/ntfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntfs_vnops.c,v 1.10 2006/01/09 12:43:16 pedro Exp $ */
+/* $OpenBSD: ntfs_vnops.c,v 1.11 2007/06/01 23:52:38 deraadt Exp $ */
/* $NetBSD: ntfs_vnops.c,v 1.6 2003/04/10 21:57:26 jdolecek Exp $ */
/*
@@ -128,14 +128,7 @@ ntfs_putpages(ap)
*/
int
ntfs_bmap(ap)
- struct vop_bmap_args /* {
- struct vnode *a_vp;
- daddr_t a_bn;
- struct vnode **a_vpp;
- daddr_t *a_bnp;
- int *a_runp;
- int *a_runb;
- } */ *ap;
+ struct vop_bmap_args *ap;
{
dprintf(("ntfs_bmap: vn: %p, blk: %d\n", ap->a_vp,(u_int32_t)ap->a_bn));
if (ap->a_vpp != NULL)
@@ -153,12 +146,7 @@ ntfs_bmap(ap)
static int
ntfs_read(ap)
- struct vop_read_args /* {
- struct vnode *a_vp;
- struct uio *a_uio;
- int a_ioflag;
- struct ucred *a_cred;
- } */ *ap;
+ struct vop_read_args *ap;
{
struct vnode *vp = ap->a_vp;
struct fnode *fp = VTOF(vp);
@@ -195,10 +183,7 @@ ntfs_read(ap)
static int
ntfs_bypass(ap)
- struct vop_generic_args /* {
- struct vnodeop_desc *a_desc;
- <other random data follows, presumably>
- } */ *ap;
+ struct vop_generic_args *ap;
{
int error = ENOTTY;
dprintf(("ntfs_bypass: %s\n", ap->a_desc->vdesc_name));
@@ -208,12 +193,7 @@ ntfs_bypass(ap)
static int
ntfs_getattr(ap)
- struct vop_getattr_args /* {
- struct vnode *a_vp;
- struct vattr *a_vap;
- struct ucred *a_cred;
- struct proc *a_p;
- } */ *ap;
+ struct vop_getattr_args *ap;
{
struct vnode *vp = ap->a_vp;
struct fnode *fp = VTOF(vp);
@@ -252,10 +232,7 @@ ntfs_getattr(ap)
*/
int
ntfs_inactive(ap)
- struct vop_inactive_args /* {
- struct vnode *a_vp;
- struct proc *a_p;
- } */ *ap;
+ struct vop_inactive_args *ap;
{
struct vnode *vp = ap->a_vp;
#ifdef __OpenBSD__
@@ -285,10 +262,7 @@ ntfs_inactive(ap)
*/
int
ntfs_reclaim(ap)
- struct vop_reclaim_args /* {
- struct vnode *a_vp;
- struct proc *a_p;
- } */ *ap;
+ struct vop_reclaim_args *ap;
{
struct vnode *vp = ap->a_vp;
struct fnode *fp = VTOF(vp);
@@ -328,9 +302,7 @@ ntfs_reclaim(ap)
static int
ntfs_print(ap)
- struct vop_print_args /* {
- struct vnode *a_vp;
- } */ *ap;
+ struct vop_print_args *ap;
{
struct ntnode *ip = VTONT(ap->a_vp);
@@ -346,9 +318,7 @@ ntfs_print(ap)
*/
int
ntfs_strategy(ap)
- struct vop_strategy_args /* {
- struct buf *a_bp;
- } */ *ap;
+ struct vop_strategy_args *ap;
{
struct buf *bp = ap->a_bp;
struct vnode *vp = bp->b_vp;
@@ -425,12 +395,7 @@ ntfs_strategy(ap)
static int
ntfs_write(ap)
- struct vop_write_args /* {
- struct vnode *a_vp;
- struct uio *a_uio;
- int a_ioflag;
- struct ucred *a_cred;
- } */ *ap;
+ struct vop_write_args *ap;
{
struct vnode *vp = ap->a_vp;
struct fnode *fp = VTOF(vp);
@@ -465,12 +430,7 @@ ntfs_write(ap)
int
ntfs_access(ap)
- struct vop_access_args /* {
- struct vnode *a_vp;
- int a_mode;
- struct ucred *a_cred;
- struct proc *a_p;
- } */ *ap;
+ struct vop_access_args *ap;
{
struct vnode *vp = ap->a_vp;
struct ntnode *ip = VTONT(vp);
@@ -544,12 +504,7 @@ ntfs_access(ap)
/* ARGSUSED */
static int
ntfs_open(ap)
- struct vop_open_args /* {
- struct vnode *a_vp;
- int a_mode;
- struct ucred *a_cred;
- struct proc *a_p;
- } */ *ap;
+ struct vop_open_args *ap;
{
#if NTFS_DEBUG
struct vnode *vp = ap->a_vp;
@@ -573,12 +528,7 @@ ntfs_open(ap)
/* ARGSUSED */
static int
ntfs_close(ap)
- struct vop_close_args /* {
- struct vnode *a_vp;
- int a_fflag;
- struct ucred *a_cred;
- struct proc *a_p;
- } */ *ap;
+ struct vop_close_args *ap;
{
#if NTFS_DEBUG
struct vnode *vp = ap->a_vp;
@@ -592,14 +542,7 @@ ntfs_close(ap)
int
ntfs_readdir(ap)
- struct vop_readdir_args /* {
- struct vnode *a_vp;
- struct uio *a_uio;
- struct ucred *a_cred;
- int *a_eofflag;
- int *a_ncookies;
- u_long **a_cookies;
- } */ *ap;
+ struct vop_readdir_args *ap;
{
struct vnode *vp = ap->a_vp;
struct fnode *fp = VTOF(vp);
@@ -749,11 +692,7 @@ ntfs_readdir(ap)
int
ntfs_lookup(ap)
- struct vop_lookup_args /* {
- struct vnode *a_dvp;
- struct vnode **a_vpp;
- struct componentname *a_cnp;
- } */ *ap;
+ struct vop_lookup_args *ap;
{
struct vnode *dvp = ap->a_dvp;
struct ntnode *dip = VTONT(dvp);
@@ -868,14 +807,7 @@ ntfs_lookup(ap)
*/
static int
ntfs_fsync(ap)
- struct vop_fsync_args /* {
- struct vnode *a_vp;
- struct ucred *a_cred;
- int a_waitfor;
- off_t offlo;
- off_t offhi;
- struct proc *a_p;
- } */ *ap;
+ struct vop_fsync_args *ap;
{
return (0);
}
@@ -888,11 +820,7 @@ static int
ntfs_pathconf(v)
void *v;
{
- struct vop_pathconf_args /* {
- struct vnode *a_vp;
- int a_name;
- register_t *a_retval;
- } */ *ap = v;
+ struct vop_pathconf_args *ap = v;
switch (ap->a_name) {
case _PC_LINK_MAX: