summaryrefslogtreecommitdiffstats
path: root/sys/fs/cd9660
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2008-11-18 23:13:40 +0000
committerjhb <jhb@FreeBSD.org>2008-11-18 23:13:40 +0000
commit58d159db68bd65c90b2769e40f7efb7f8e5dedbb (patch)
tree93ea8c597ec8b1fb432aa229e166e0cbd951beb6 /sys/fs/cd9660
parentf94871873b5f20ab9f59e1bdf53d72a17f335645 (diff)
downloadFreeBSD-src-58d159db68bd65c90b2769e40f7efb7f8e5dedbb.zip
FreeBSD-src-58d159db68bd65c90b2769e40f7efb7f8e5dedbb.tar.gz
Remove unused i_flags field and IN_ACCESS flag from cd9660 in-memory
i-nodes. cd9660 doesn't support access times.
Diffstat (limited to 'sys/fs/cd9660')
-rw-r--r--sys/fs/cd9660/cd9660_node.c1
-rw-r--r--sys/fs/cd9660/cd9660_node.h4
-rw-r--r--sys/fs/cd9660/cd9660_vnops.c1
3 files changed, 0 insertions, 6 deletions
diff --git a/sys/fs/cd9660/cd9660_node.c b/sys/fs/cd9660/cd9660_node.c
index d8db8b5..699f0d9 100644
--- a/sys/fs/cd9660/cd9660_node.c
+++ b/sys/fs/cd9660/cd9660_node.c
@@ -72,7 +72,6 @@ cd9660_inactive(ap)
if (prtactive && vrefcnt(vp) != 0)
vprint("cd9660_inactive: pushing active", vp);
- ip->i_flag = 0;
/*
* If we are done with the inode, reclaim it
* so that it can be reused immediately.
diff --git a/sys/fs/cd9660/cd9660_node.h b/sys/fs/cd9660/cd9660_node.h
index a0eb135..1675f80 100644
--- a/sys/fs/cd9660/cd9660_node.h
+++ b/sys/fs/cd9660/cd9660_node.h
@@ -58,7 +58,6 @@ typedef struct {
struct iso_node {
struct vnode *i_vnode; /* vnode associated with this inode */
- u_long i_flag; /* see below */
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 */
@@ -78,9 +77,6 @@ struct iso_node {
#define i_forw i_chain[0]
#define i_back i_chain[1]
-/* flags */
-#define IN_ACCESS 0x0020 /* inode access time to be updated */
-
#define VTOI(vp) ((struct iso_node *)(vp)->v_data)
#define ITOV(ip) ((ip)->i_vnode)
diff --git a/sys/fs/cd9660/cd9660_vnops.c b/sys/fs/cd9660/cd9660_vnops.c
index 9e99a5b..c0ab412 100644
--- a/sys/fs/cd9660/cd9660_vnops.c
+++ b/sys/fs/cd9660/cd9660_vnops.c
@@ -295,7 +295,6 @@ cd9660_read(ap)
return (0);
if (uio->uio_offset < 0)
return (EINVAL);
- ip->i_flag |= IN_ACCESS;
imp = ip->i_mnt;
do {
lbn = lblkno(imp, uio->uio_offset);
OpenPOWER on IntegriCloud