summaryrefslogtreecommitdiffstats
path: root/sys/fs/cd9660
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2002-09-18 20:42:04 +0000
committernjl <njl@FreeBSD.org>2002-09-18 20:42:04 +0000
commit00c79f5c92eb1bef381fbc7e267b6e746fab0f9c (patch)
treef0e827f562fb4c2d3c293425604e0245216e83ae /sys/fs/cd9660
parent74315d9b540e11ecbf585c1223bd70f0e956c55d (diff)
downloadFreeBSD-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/cd9660')
-rw-r--r--sys/fs/cd9660/cd9660_vnops.c21
1 files changed, 3 insertions, 18 deletions
diff --git a/sys/fs/cd9660/cd9660_vnops.c b/sys/fs/cd9660/cd9660_vnops.c
index e0563e3..6899db7 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.
@@ -737,20 +736,6 @@ cd9660_strategy(ap)
}
/*
- * 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.
*/
static int
@@ -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 },
OpenPOWER on IntegriCloud