From 86ed6d45ac981df24ef05bed655c7a8c213ff35f Mon Sep 17 00:00:00 2001 From: Nate Lawson Date: Wed, 18 Sep 2002 20:42:04 +0000 Subject: [PATCH] Remove any VOP_PRINT that redundantly prints the tag. Move lockmgr_printinfo() into vprint() for everyone's benefit. Suggested by: bde --- sys/fs/cd9660/cd9660_vnops.c | 21 +++------------------ sys/fs/deadfs/dead_vnops.c | 18 +----------------- sys/fs/devfs/devfs_vnops.c | 17 ++--------------- sys/fs/fdescfs/fdesc_vnops.c | 18 +----------------- sys/fs/fifofs/fifo_vnops.c | 2 -- sys/fs/hpfs/hpfs_vnops.c | 4 +--- sys/fs/msdosfs/msdosfs_vnops.c | 9 +++------ sys/fs/ntfs/ntfs_vnops.c | 12 +----------- sys/fs/portalfs/portal_vnops.c | 19 +------------------ sys/fs/smbfs/smbfs_vnops.c | 7 ++----- sys/gnu/ext2fs/ext2_vnops.c | 6 ++---- sys/gnu/fs/ext2fs/ext2_vnops.c | 6 ++---- sys/isofs/cd9660/cd9660_vnops.c | 21 +++------------------ sys/kern/vfs_subr.c | 16 ++++++++-------- sys/ufs/ufs/ufs_vnops.c | 6 ++---- 15 files changed, 32 insertions(+), 150 deletions(-) diff --git a/sys/fs/cd9660/cd9660_vnops.c b/sys/fs/cd9660/cd9660_vnops.c index e0563e373ce8..6899db74062f 100644 --- a/sys/fs/cd9660/cd9660_vnops.c +++ b/sys/fs/cd9660/cd9660_vnops.c @@ -74,7 +74,6 @@ static int iso_shipdir(struct isoreaddir *idp); static int cd9660_readdir(struct vop_readdir_args *); static int cd9660_readlink(struct vop_readlink_args *ap); static int cd9660_strategy(struct vop_strategy_args *); -static int cd9660_print(struct vop_print_args *); /* * Setattr call. Only allowed for block and character special devices. @@ -736,20 +735,6 @@ cd9660_strategy(ap) return (0); } -/* - * Print out the contents of an inode. - */ -static int -cd9660_print(ap) - struct vop_print_args /* { - struct vnode *a_vp; - } */ *ap; -{ - - printf("tag %s, isofs vnode\n", ap->a_vp->v_tag); - return (0); -} - /* * Return POSIX pathconf information applicable to cd9660 filesystems. */ @@ -806,7 +791,7 @@ static struct vnodeopv_entry_desc cd9660_vnodeop_entries[] = { { &vop_lock_desc, (vop_t *) vop_stdlock }, { &vop_lookup_desc, (vop_t *) vfs_cache_lookup }, { &vop_pathconf_desc, (vop_t *) cd9660_pathconf }, - { &vop_print_desc, (vop_t *) cd9660_print }, + { &vop_print_desc, (vop_t *) vop_null }, { &vop_read_desc, (vop_t *) cd9660_read }, { &vop_readdir_desc, (vop_t *) cd9660_readdir }, { &vop_readlink_desc, (vop_t *) cd9660_readlink }, @@ -831,7 +816,7 @@ static struct vnodeopv_entry_desc cd9660_specop_entries[] = { { &vop_inactive_desc, (vop_t *) cd9660_inactive }, { &vop_islocked_desc, (vop_t *) vop_stdislocked }, { &vop_lock_desc, (vop_t *) vop_stdlock }, - { &vop_print_desc, (vop_t *) cd9660_print }, + { &vop_print_desc, (vop_t *) vop_null }, { &vop_reclaim_desc, (vop_t *) cd9660_reclaim }, { &vop_setattr_desc, (vop_t *) cd9660_setattr }, { &vop_unlock_desc, (vop_t *) vop_stdunlock }, @@ -849,7 +834,7 @@ static struct vnodeopv_entry_desc cd9660_fifoop_entries[] = { { &vop_inactive_desc, (vop_t *) cd9660_inactive }, { &vop_islocked_desc, (vop_t *) vop_stdislocked }, { &vop_lock_desc, (vop_t *) vop_stdlock }, - { &vop_print_desc, (vop_t *) cd9660_print }, + { &vop_print_desc, (vop_t *) vop_null }, { &vop_reclaim_desc, (vop_t *) cd9660_reclaim }, { &vop_setattr_desc, (vop_t *) cd9660_setattr }, { &vop_unlock_desc, (vop_t *) vop_stdunlock }, diff --git a/sys/fs/deadfs/dead_vnops.c b/sys/fs/deadfs/dead_vnops.c index 3f70b9011a8d..3245d90f69a3 100644 --- a/sys/fs/deadfs/dead_vnops.c +++ b/sys/fs/deadfs/dead_vnops.c @@ -52,7 +52,6 @@ static int dead_lock(struct vop_lock_args *); static int dead_lookup(struct vop_lookup_args *); static int dead_open(struct vop_open_args *); static int dead_poll(struct vop_poll_args *); -static int dead_print(struct vop_print_args *); static int dead_read(struct vop_read_args *); static int dead_write(struct vop_write_args *); @@ -74,7 +73,7 @@ static struct vnodeopv_entry_desc dead_vnodeop_entries[] = { { &vop_open_desc, (vop_t *) dead_open }, { &vop_pathconf_desc, (vop_t *) vop_ebadf }, /* per pathconf(2) */ { &vop_poll_desc, (vop_t *) dead_poll }, - { &vop_print_desc, (vop_t *) dead_print }, + { &vop_print_desc, (vop_t *) vop_null }, { &vop_read_desc, (vop_t *) dead_read }, { &vop_readdir_desc, (vop_t *) vop_ebadf }, { &vop_readlink_desc, (vop_t *) vop_ebadf }, @@ -237,21 +236,6 @@ dead_bmap(ap) return (VOP_BMAP(ap->a_vp, ap->a_bn, ap->a_vpp, ap->a_bnp, ap->a_runp, ap->a_runb)); } -/* - * Print out the contents of a dead vnode. - */ -/* ARGSUSED */ -static int -dead_print(ap) - struct vop_print_args /* { - struct vnode *a_vp; - } */ *ap; -{ - - printf("tag %s, dead vnode\n", ap->a_vp->v_tag); - return (0); -} - /* * We have to wait during times when the vnode is * in a state of change. diff --git a/sys/fs/devfs/devfs_vnops.c b/sys/fs/devfs/devfs_vnops.c index b181daafe0ec..ad14bd911b82 100644 --- a/sys/fs/devfs/devfs_vnops.c +++ b/sys/fs/devfs/devfs_vnops.c @@ -68,7 +68,6 @@ static int devfs_ioctl(struct vop_ioctl_args *ap); static int devfs_lookupx(struct vop_lookup_args *ap); static int devfs_mknod(struct vop_mknod_args *ap); static int devfs_pathconf(struct vop_pathconf_args *ap); -static int devfs_print(struct vop_print_args *ap); static int devfs_read(struct vop_read_args *ap); static int devfs_readdir(struct vop_readdir_args *ap); static int devfs_readlink(struct vop_readlink_args *ap); @@ -526,18 +525,6 @@ devfs_pathconf(ap) /* NOTREACHED */ } -/* ARGSUSED */ -static int -devfs_print(ap) - struct vop_print_args /* { - struct vnode *a_vp; - } */ *ap; -{ - - printf("tag %s, devfs vnode\n", ap->a_vp->v_tag); - return (0); -} - static int devfs_read(ap) struct vop_read_args /* { @@ -899,7 +886,7 @@ static struct vnodeopv_entry_desc devfs_vnodeop_entries[] = { { &vop_lookup_desc, (vop_t *) devfs_lookup }, { &vop_mknod_desc, (vop_t *) devfs_mknod }, { &vop_pathconf_desc, (vop_t *) devfs_pathconf }, - { &vop_print_desc, (vop_t *) devfs_print }, + { &vop_print_desc, (vop_t *) vop_null }, { &vop_read_desc, (vop_t *) devfs_read }, { &vop_readdir_desc, (vop_t *) devfs_readdir }, { &vop_readlink_desc, (vop_t *) devfs_readlink }, @@ -930,7 +917,7 @@ static struct vnodeopv_entry_desc devfs_specop_entries[] = { { &vop_islocked_desc, (vop_t *) vop_stdislocked }, { &vop_lock_desc, (vop_t *) vop_stdlock }, { &vop_pathconf_desc, (vop_t *) devfs_pathconf }, - { &vop_print_desc, (vop_t *) devfs_print }, + { &vop_print_desc, (vop_t *) vop_null }, { &vop_reclaim_desc, (vop_t *) devfs_reclaim }, #ifdef MAC { &vop_refreshlabel_desc, (vop_t *) devfs_refreshlabel }, diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c index b0b0e0dcdf22..c8e00b4799f4 100644 --- a/sys/fs/fdescfs/fdesc_vnops.c +++ b/sys/fs/fdescfs/fdesc_vnops.c @@ -76,7 +76,6 @@ static int fdesc_getattr(struct vop_getattr_args *ap); static int fdesc_inactive(struct vop_inactive_args *ap); static int fdesc_lookup(struct vop_lookup_args *ap); static int fdesc_open(struct vop_open_args *ap); -static int fdesc_print(struct vop_print_args *ap); static int fdesc_readdir(struct vop_readdir_args *ap); static int fdesc_reclaim(struct vop_reclaim_args *ap); static int fdesc_poll(struct vop_poll_args *ap); @@ -536,21 +535,6 @@ fdesc_reclaim(ap) return (0); } -/* - * Print out the contents of a /dev/fd vnode. - */ -/* ARGSUSED */ -static int -fdesc_print(ap) - struct vop_print_args /* { - struct vnode *a_vp; - } */ *ap; -{ - - printf("tag %s, fdesc vnode\n", ap->a_vp->v_tag); - return (0); -} - static struct vnodeopv_entry_desc fdesc_vnodeop_entries[] = { { &vop_default_desc, (vop_t *) vop_defaultop }, { &vop_access_desc, (vop_t *) vop_null }, @@ -560,7 +544,7 @@ static struct vnodeopv_entry_desc fdesc_vnodeop_entries[] = { { &vop_open_desc, (vop_t *) fdesc_open }, { &vop_pathconf_desc, (vop_t *) vop_stdpathconf }, { &vop_poll_desc, (vop_t *) fdesc_poll }, - { &vop_print_desc, (vop_t *) fdesc_print }, + { &vop_print_desc, (vop_t *) vop_null }, { &vop_readdir_desc, (vop_t *) fdesc_readdir }, { &vop_reclaim_desc, (vop_t *) fdesc_reclaim }, { &vop_setattr_desc, (vop_t *) fdesc_setattr }, diff --git a/sys/fs/fifofs/fifo_vnops.c b/sys/fs/fifofs/fifo_vnops.c index ab3f8a14583e..7ce50fc91750 100644 --- a/sys/fs/fifofs/fifo_vnops.c +++ b/sys/fs/fifofs/fifo_vnops.c @@ -563,8 +563,6 @@ fifo_print(ap) struct vnode *a_vp; } */ *ap; { - - printf("tag %s", ap->a_vp->v_tag); fifo_printinfo(ap->a_vp); printf("\n"); return (0); diff --git a/sys/fs/hpfs/hpfs_vnops.c b/sys/fs/hpfs/hpfs_vnops.c index 316183e03538..b862bad5cf2d 100644 --- a/sys/fs/hpfs/hpfs_vnops.c +++ b/sys/fs/hpfs/hpfs_vnops.c @@ -659,9 +659,7 @@ hpfs_print(ap) register struct vnode *vp = ap->a_vp; register struct hpfsnode *hp = VTOHP(vp); - printf("tag %s, ino 0x%x", vp->v_tag, hp->h_no); - lockmgr_printinfo(&hp->h_lock); - printf("\n"); + printf("ino 0x%x\n", hp->h_no); return (0); } diff --git a/sys/fs/msdosfs/msdosfs_vnops.c b/sys/fs/msdosfs/msdosfs_vnops.c index fdd5930928d8..b7d4f7c45752 100644 --- a/sys/fs/msdosfs/msdosfs_vnops.c +++ b/sys/fs/msdosfs/msdosfs_vnops.c @@ -1830,12 +1830,9 @@ msdosfs_print(ap) { struct denode *dep = VTODE(ap->a_vp); - printf("tag %s, startcluster %lu, dircluster %lu, diroffset %lu ", - ap->a_vp->v_tag, dep->de_StartCluster, - dep->de_dirclust, dep->de_diroffset); - printf(" dev %d, %d", major(dep->de_dev), minor(dep->de_dev)); - lockmgr_printinfo(&ap->a_vp->v_lock); - printf("\n"); + printf("startcluster %lu, dircluster %lu, diroffset %lu, ", + dep->de_StartCluster, dep->de_dirclust, dep->de_diroffset); + printf("on dev (%d, %d)\n", major(dep->de_dev), minor(dep->de_dev)); return (0); } diff --git a/sys/fs/ntfs/ntfs_vnops.c b/sys/fs/ntfs/ntfs_vnops.c index dbb559383d9f..fc466172e11b 100644 --- a/sys/fs/ntfs/ntfs_vnops.c +++ b/sys/fs/ntfs/ntfs_vnops.c @@ -74,7 +74,6 @@ static int ntfs_read(struct vop_read_args *); static int ntfs_write(struct vop_write_args *ap); static int ntfs_getattr(struct vop_getattr_args *ap); static int ntfs_inactive(struct vop_inactive_args *ap); -static int ntfs_print(struct vop_print_args *ap); static int ntfs_reclaim(struct vop_reclaim_args *ap); static int ntfs_strategy(struct vop_strategy_args *ap); static int ntfs_access(struct vop_access_args *ap); @@ -240,15 +239,6 @@ ntfs_reclaim(ap) return (0); } -static int -ntfs_print(ap) - struct vop_print_args /* { - struct vnode *a_vp; - } */ *ap; -{ - return (0); -} - /* * Calculate the logical to physical mapping if not done already, * then call the device strategy routine. @@ -745,7 +735,7 @@ struct vnodeopv_entry_desc ntfs_vnodeop_entries[] = { { &vop_getattr_desc, (vop_t *)ntfs_getattr }, { &vop_inactive_desc, (vop_t *)ntfs_inactive }, { &vop_reclaim_desc, (vop_t *)ntfs_reclaim }, - { &vop_print_desc, (vop_t *)ntfs_print }, + { &vop_print_desc, (vop_t *)vop_null }, { &vop_pathconf_desc, ntfs_pathconf }, { &vop_islocked_desc, (vop_t *)vop_stdislocked }, diff --git a/sys/fs/portalfs/portal_vnops.c b/sys/fs/portalfs/portal_vnops.c index 97649d36a436..f6973ecbc12b 100644 --- a/sys/fs/portalfs/portal_vnops.c +++ b/sys/fs/portalfs/portal_vnops.c @@ -70,7 +70,6 @@ static int portal_connect(struct socket *so, struct socket *so2); static int portal_getattr(struct vop_getattr_args *ap); static int portal_lookup(struct vop_lookup_args *ap); static int portal_open(struct vop_open_args *ap); -static int portal_print(struct vop_print_args *ap); static int portal_readdir(struct vop_readdir_args *ap); static int portal_reclaim(struct vop_reclaim_args *ap); static int portal_setattr(struct vop_setattr_args *ap); @@ -546,22 +545,6 @@ portal_reclaim(ap) return (0); } - -/* - * Print out the contents of a Portal vnode. - */ -/* ARGSUSED */ -static int -portal_print(ap) - struct vop_print_args /* { - struct vnode *a_vp; - } */ *ap; -{ - - printf("tag %s, portal vnode\n", ap->a_vp->v_tag); - return (0); -} - vop_t **portal_vnodeop_p; static struct vnodeopv_entry_desc portal_vnodeop_entries[] = { { &vop_default_desc, (vop_t *) vop_defaultop }, @@ -570,7 +553,7 @@ static struct vnodeopv_entry_desc portal_vnodeop_entries[] = { { &vop_lookup_desc, (vop_t *) portal_lookup }, { &vop_open_desc, (vop_t *) portal_open }, { &vop_pathconf_desc, (vop_t *) vop_stdpathconf }, - { &vop_print_desc, (vop_t *) portal_print }, + { &vop_print_desc, (vop_t *) vop_null }, { &vop_readdir_desc, (vop_t *) portal_readdir }, { &vop_reclaim_desc, (vop_t *) portal_reclaim }, { &vop_setattr_desc, (vop_t *) portal_setattr }, diff --git a/sys/fs/smbfs/smbfs_vnops.c b/sys/fs/smbfs/smbfs_vnops.c index 361215e667d2..35c7d748044c 100644 --- a/sys/fs/smbfs/smbfs_vnops.c +++ b/sys/fs/smbfs/smbfs_vnops.c @@ -845,11 +845,8 @@ int smbfs_print (ap) printf("no smbnode data\n"); return (0); } - printf("tag %s, name = %s, parent = %p, opencount = %d", - vp->v_tag, np->n_name, np->n_parent ? SMBTOV(np->n_parent) : NULL, - np->n_opencount); - lockmgr_printinfo(&vp->v_lock); - printf("\n"); + printf("name = %s, parent = %p, opencount = %d\n", np->n_name, + np->n_parent ? SMBTOV(np->n_parent) : NULL, np->n_opencount); return (0); } diff --git a/sys/gnu/ext2fs/ext2_vnops.c b/sys/gnu/ext2fs/ext2_vnops.c index 380638c18de1..dd24a9d7c31c 100644 --- a/sys/gnu/ext2fs/ext2_vnops.c +++ b/sys/gnu/ext2fs/ext2_vnops.c @@ -1557,12 +1557,10 @@ ext2_print(ap) struct vnode *vp = ap->a_vp; struct inode *ip = VTOI(vp); - printf("tag %s, ino %lu, on dev %s (%d, %d)", - vp->v_tag, (u_long)ip->i_number, devtoname(ip->i_dev), - major(ip->i_dev), minor(ip->i_dev)); + printf("ino %lu, on dev %s (%d, %d)", (u_long)ip->i_number, + devtoname(ip->i_dev), major(ip->i_dev), minor(ip->i_dev)); if (vp->v_type == VFIFO) fifo_printinfo(vp); - lockmgr_printinfo(&vp->v_lock); printf("\n"); return (0); } diff --git a/sys/gnu/fs/ext2fs/ext2_vnops.c b/sys/gnu/fs/ext2fs/ext2_vnops.c index 380638c18de1..dd24a9d7c31c 100644 --- a/sys/gnu/fs/ext2fs/ext2_vnops.c +++ b/sys/gnu/fs/ext2fs/ext2_vnops.c @@ -1557,12 +1557,10 @@ ext2_print(ap) struct vnode *vp = ap->a_vp; struct inode *ip = VTOI(vp); - printf("tag %s, ino %lu, on dev %s (%d, %d)", - vp->v_tag, (u_long)ip->i_number, devtoname(ip->i_dev), - major(ip->i_dev), minor(ip->i_dev)); + printf("ino %lu, on dev %s (%d, %d)", (u_long)ip->i_number, + devtoname(ip->i_dev), major(ip->i_dev), minor(ip->i_dev)); if (vp->v_type == VFIFO) fifo_printinfo(vp); - lockmgr_printinfo(&vp->v_lock); printf("\n"); return (0); } diff --git a/sys/isofs/cd9660/cd9660_vnops.c b/sys/isofs/cd9660/cd9660_vnops.c index e0563e373ce8..6899db74062f 100644 --- a/sys/isofs/cd9660/cd9660_vnops.c +++ b/sys/isofs/cd9660/cd9660_vnops.c @@ -74,7 +74,6 @@ static int iso_shipdir(struct isoreaddir *idp); static int cd9660_readdir(struct vop_readdir_args *); static int cd9660_readlink(struct vop_readlink_args *ap); static int cd9660_strategy(struct vop_strategy_args *); -static int cd9660_print(struct vop_print_args *); /* * Setattr call. Only allowed for block and character special devices. @@ -736,20 +735,6 @@ cd9660_strategy(ap) return (0); } -/* - * Print out the contents of an inode. - */ -static int -cd9660_print(ap) - struct vop_print_args /* { - struct vnode *a_vp; - } */ *ap; -{ - - printf("tag %s, isofs vnode\n", ap->a_vp->v_tag); - return (0); -} - /* * Return POSIX pathconf information applicable to cd9660 filesystems. */ @@ -806,7 +791,7 @@ static struct vnodeopv_entry_desc cd9660_vnodeop_entries[] = { { &vop_lock_desc, (vop_t *) vop_stdlock }, { &vop_lookup_desc, (vop_t *) vfs_cache_lookup }, { &vop_pathconf_desc, (vop_t *) cd9660_pathconf }, - { &vop_print_desc, (vop_t *) cd9660_print }, + { &vop_print_desc, (vop_t *) vop_null }, { &vop_read_desc, (vop_t *) cd9660_read }, { &vop_readdir_desc, (vop_t *) cd9660_readdir }, { &vop_readlink_desc, (vop_t *) cd9660_readlink }, @@ -831,7 +816,7 @@ static struct vnodeopv_entry_desc cd9660_specop_entries[] = { { &vop_inactive_desc, (vop_t *) cd9660_inactive }, { &vop_islocked_desc, (vop_t *) vop_stdislocked }, { &vop_lock_desc, (vop_t *) vop_stdlock }, - { &vop_print_desc, (vop_t *) cd9660_print }, + { &vop_print_desc, (vop_t *) vop_null }, { &vop_reclaim_desc, (vop_t *) cd9660_reclaim }, { &vop_setattr_desc, (vop_t *) cd9660_setattr }, { &vop_unlock_desc, (vop_t *) vop_stdunlock }, @@ -849,7 +834,7 @@ static struct vnodeopv_entry_desc cd9660_fifoop_entries[] = { { &vop_inactive_desc, (vop_t *) cd9660_inactive }, { &vop_islocked_desc, (vop_t *) vop_stdislocked }, { &vop_lock_desc, (vop_t *) vop_stdlock }, - { &vop_print_desc, (vop_t *) cd9660_print }, + { &vop_print_desc, (vop_t *) vop_null }, { &vop_reclaim_desc, (vop_t *) cd9660_reclaim }, { &vop_setattr_desc, (vop_t *) cd9660_setattr }, { &vop_unlock_desc, (vop_t *) vop_stdunlock }, diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 933a17f5704d..2e7745564619 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -2617,9 +2617,9 @@ vprint(label, vp) printf("%s: %p: ", label, (void *)vp); else printf("%p: ", (void *)vp); - printf("type %s, usecount %d, writecount %d, refcount %d,", - typename[vp->v_type], vp->v_usecount, vp->v_writecount, - vp->v_holdcnt); + printf("tag %s, type %s, usecount %d, writecount %d, refcount %d,", + vp->v_tag, typename[vp->v_type], vp->v_usecount, + vp->v_writecount, vp->v_holdcnt); buf[0] = '\0'; if (vp->v_vflag & VV_ROOT) strcat(buf, "|VV_ROOT"); @@ -2640,11 +2640,11 @@ vprint(label, vp) if (vp->v_vflag & VV_OBJBUF) strcat(buf, "|VV_OBJBUF"); if (buf[0] != '\0') - printf(" flags (%s)", &buf[1]); - if (vp->v_data == NULL) { - printf("\n"); - } else { - printf("\n\t"); + printf(" flags (%s),", &buf[1]); + lockmgr_printinfo(&vp->v_lock); + printf("\n"); + if (vp->v_data != NULL) { + printf("\t"); VOP_PRINT(vp); } } diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c index c048e54adda3..b7d6425c762f 100644 --- a/sys/ufs/ufs/ufs_vnops.c +++ b/sys/ufs/ufs/ufs_vnops.c @@ -1979,12 +1979,10 @@ ufs_print(ap) struct vnode *vp = ap->a_vp; struct inode *ip = VTOI(vp); - printf("tag %s, ino %lu, on dev %s (%d, %d)", - vp->v_tag, (u_long)ip->i_number, devtoname(ip->i_dev), - major(ip->i_dev), minor(ip->i_dev)); + printf("ino %lu, on dev %s (%d, %d)", (u_long)ip->i_number, + devtoname(ip->i_dev), major(ip->i_dev), minor(ip->i_dev)); if (vp->v_type == VFIFO) fifo_printinfo(vp); - lockmgr_printinfo(&vp->v_lock); printf("\n"); return (0); }