diff options
author | njl <njl@FreeBSD.org> | 2002-09-18 20:42:04 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2002-09-18 20:42:04 +0000 |
commit | 00c79f5c92eb1bef381fbc7e267b6e746fab0f9c (patch) | |
tree | f0e827f562fb4c2d3c293425604e0245216e83ae /sys/fs/deadfs | |
parent | 74315d9b540e11ecbf585c1223bd70f0e956c55d (diff) | |
download | FreeBSD-src-00c79f5c92eb1bef381fbc7e267b6e746fab0f9c.zip FreeBSD-src-00c79f5c92eb1bef381fbc7e267b6e746fab0f9c.tar.gz |
Remove any VOP_PRINT that redundantly prints the tag.
Move lockmgr_printinfo() into vprint() for everyone's benefit.
Suggested by: bde
Diffstat (limited to 'sys/fs/deadfs')
-rw-r--r-- | sys/fs/deadfs/dead_vnops.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/fs/deadfs/dead_vnops.c b/sys/fs/deadfs/dead_vnops.c index 3f70b90..3245d90 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 }, @@ -238,21 +237,6 @@ dead_bmap(ap) } /* - * 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. */ |