summaryrefslogtreecommitdiffstats
path: root/sys/fs/cd9660
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2002-09-14 09:02:28 +0000
committernjl <njl@FreeBSD.org>2002-09-14 09:02:28 +0000
commit0590c43070aac7fb636a1f4c4b94469046a317a0 (patch)
treee9205d0e4985af46af0db4bd26e9662b1c25f85b /sys/fs/cd9660
parentbb76739de046ae1f81a36e96d18f0ee3b1afd323 (diff)
downloadFreeBSD-src-0590c43070aac7fb636a1f4c4b94469046a317a0.zip
FreeBSD-src-0590c43070aac7fb636a1f4c4b94469046a317a0.tar.gz
Remove all use of vnode->v_tag, replacing with appropriate substitutes.
v_tag is now const char * and should only be used for debugging. Additionally: 1. All users of VT_NTS now check vfsconf->vf_type VFCF_NETWORK 2. The user of VT_PROCFS now checks for the new flag VV_PROCDEP, which is propagated by pseudofs to all child vnodes if the fs sets PFS_PROCDEP. Suggested by: phk Reviewed by: bde, rwatson (earlier version)
Diffstat (limited to 'sys/fs/cd9660')
-rw-r--r--sys/fs/cd9660/cd9660_vfsops.c2
-rw-r--r--sys/fs/cd9660/cd9660_vnops.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c
index 2126238..4ec27d6 100644
--- a/sys/fs/cd9660/cd9660_vfsops.c
+++ b/sys/fs/cd9660/cd9660_vfsops.c
@@ -708,7 +708,7 @@ cd9660_vget_internal(mp, ino, flags, vpp, relocated, isodir)
return (0);
/* Allocate a new vnode/iso_node. */
- if ((error = getnewvnode(VT_ISOFS, mp, cd9660_vnodeop_p, &vp)) != 0) {
+ if ((error = getnewvnode("isofs", mp, cd9660_vnodeop_p, &vp)) != 0) {
*vpp = NULLVP;
return (error);
}
diff --git a/sys/fs/cd9660/cd9660_vnops.c b/sys/fs/cd9660/cd9660_vnops.c
index 91ecaa3..e0563e3 100644
--- a/sys/fs/cd9660/cd9660_vnops.c
+++ b/sys/fs/cd9660/cd9660_vnops.c
@@ -746,7 +746,7 @@ cd9660_print(ap)
} */ *ap;
{
- printf("tag VT_ISOFS, isofs vnode\n");
+ printf("tag %s, isofs vnode\n", ap->a_vp->v_tag);
return (0);
}
OpenPOWER on IntegriCloud