summaryrefslogtreecommitdiffstats
path: root/sys/fs/cd9660
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-03-16 07:17:39 +0000
committerphk <phk@FreeBSD.org>2005-03-16 07:17:39 +0000
commit91898096026529f2b7b35420ee1ec666245ff20c (patch)
treea2cb1f8f494ca1de07fa18cbd5664bc04a22dd23 /sys/fs/cd9660
parent2966b28e5ff8b8b1a3d1b3634bec035ab0a8f34c (diff)
downloadFreeBSD-src-91898096026529f2b7b35420ee1ec666245ff20c.zip
FreeBSD-src-91898096026529f2b7b35420ee1ec666245ff20c.tar.gz
Don't store the disk cdev in all inodes.
Diffstat (limited to 'sys/fs/cd9660')
-rw-r--r--sys/fs/cd9660/cd9660_node.h1
-rw-r--r--sys/fs/cd9660/cd9660_vfsops.c1
-rw-r--r--sys/fs/cd9660/cd9660_vnops.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/sys/fs/cd9660/cd9660_node.h b/sys/fs/cd9660/cd9660_node.h
index b80dffa..b207f76 100644
--- a/sys/fs/cd9660/cd9660_node.h
+++ b/sys/fs/cd9660/cd9660_node.h
@@ -60,7 +60,6 @@ struct iso_node {
struct iso_node *i_next, **i_prev; /* hash chain */
struct vnode *i_vnode; /* vnode associated with this inode */
u_long i_flag; /* see below */
- struct cdev *i_dev; /* device where inode resides */
ino_t i_number; /* the identity of the inode */
/* we use the actual starting block of the file */
struct iso_mnt *i_mnt; /* filesystem associated with this inode */
diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c
index 2e2f776..0246ad5 100644
--- a/sys/fs/cd9660/cd9660_vfsops.c
+++ b/sys/fs/cd9660/cd9660_vfsops.c
@@ -677,7 +677,6 @@ cd9660_vget_internal(mp, ino, flags, vpp, relocated, isodir)
M_WAITOK | M_ZERO);
vp->v_data = ip;
ip->i_vnode = vp;
- ip->i_dev = dev;
ip->i_number = ino;
error = vfs_hash_insert(vp, ino, flags, curthread, vpp);
diff --git a/sys/fs/cd9660/cd9660_vnops.c b/sys/fs/cd9660/cd9660_vnops.c
index f3d279f..e894ee6 100644
--- a/sys/fs/cd9660/cd9660_vnops.c
+++ b/sys/fs/cd9660/cd9660_vnops.c
@@ -188,7 +188,6 @@ cd9660_getattr(ap)
struct vattr *vap = ap->a_vap;
struct iso_node *ip = VTOI(vp);
- vap->va_fsid = dev2udev(ip->i_dev); /* XXX WRONG! */
vap->va_fileid = ip->i_number;
vap->va_mode = ip->inode.iso_mode;
OpenPOWER on IntegriCloud