summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authormjg <mjg@FreeBSD.org>2012-08-17 17:45:27 +0000
committermjg <mjg@FreeBSD.org>2012-08-17 17:45:27 +0000
commitb45a39ac78c3f73e5a6b942853a315637798663d (patch)
treebf7a2de26b7e1d75810a198e4f7924109a0fe54f /sys/fs
parent0da4a31458b74223cde79194bf36eb6cbe7db847 (diff)
downloadFreeBSD-src-b45a39ac78c3f73e5a6b942853a315637798663d.zip
FreeBSD-src-b45a39ac78c3f73e5a6b942853a315637798663d.tar.gz
Remove unused member of struct indir (in_exists) from UFS and EXT2 code.
Reviewed by: mckusick Approved by: trasz (mentor) MFC after: 1 week
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/ext2fs/ext2_bmap.c3
-rw-r--r--sys/fs/ext2fs/inode.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/fs/ext2fs/ext2_bmap.c b/sys/fs/ext2fs/ext2_bmap.c
index ba8eb63..a058115 100644
--- a/sys/fs/ext2fs/ext2_bmap.c
+++ b/sys/fs/ext2fs/ext2_bmap.c
@@ -183,7 +183,6 @@ ext2_bmaparray(vp, bn, bnp, runp, runb)
if (bp)
bqrelse(bp);
- ap->in_exists = 1;
bp = getblk(vp, metalbn, bsize, 0, 0, 0);
if ((bp->b_flags & B_CACHE) == 0) {
#ifdef DIAGNOSTIC
@@ -310,7 +309,6 @@ ext2_getlbns(vp, bn, ap, nump)
*/
ap->in_lbn = metalbn;
ap->in_off = off = NIADDR - i;
- ap->in_exists = 0;
ap++;
for (++numlevels; i <= NIADDR; i++) {
/* If searching for a meta-data block, quit when found. */
@@ -322,7 +320,6 @@ ext2_getlbns(vp, bn, ap, nump)
++numlevels;
ap->in_lbn = metalbn;
ap->in_off = off;
- ap->in_exists = 0;
++ap;
metalbn -= -1 + off * blockcnt;
diff --git a/sys/fs/ext2fs/inode.h b/sys/fs/ext2fs/inode.h
index 100a076..d8aaac9 100644
--- a/sys/fs/ext2fs/inode.h
+++ b/sys/fs/ext2fs/inode.h
@@ -151,7 +151,6 @@ struct inode {
struct indir {
int32_t in_lbn; /* Logical block number. */
int in_off; /* Offset in buffer. */
- int in_exists; /* Flag if the block exists. */
};
/* Convert between inode pointers and vnode pointers. */
OpenPOWER on IntegriCloud