Gitweb:
http://git.fedorahosted.org/git/?p=gfs2-utils.git;a=commitdiff;h=d99e83f4...
Commit: d99e83f4f60c7e62df5ef6cea4fdc22c1e4bc074
Parent: d1a8817f0d72e6bd2a03f618daab4af006dfb791
Author: Andrew Price <anprice(a)redhat.com>
AuthorDate: Thu Jan 15 19:09:26 2015 +0000
Committer: Andrew Price <anprice(a)redhat.com>
CommitterDate: Sun Mar 29 02:27:33 2015 +0100
libgfs2: Remove some unused data structures
struct per_node and some fields of struct master_dir are not being used
at all, remove them.
Signed-off-by: Andrew Price <anprice(a)redhat.com>
---
gfs2/libgfs2/libgfs2.h | 21 +--------------------
1 files changed, 1 insertions(+), 20 deletions(-)
diff --git a/gfs2/libgfs2/libgfs2.h b/gfs2/libgfs2/libgfs2.h
index 374d774..f1f81d3 100644
--- a/gfs2/libgfs2/libgfs2.h
+++ b/gfs2/libgfs2/libgfs2.h
@@ -236,39 +236,20 @@ struct gfs2_inode {
struct rgrp_tree *i_rgd; /* The rgrp this inode is in */
};
-/* FIXME not sure that i want to keep a record of the inodes or the
- * contents of them, or both ... if I need to write back to them, it
- * would be easier to hold the inode as well */
-struct per_node
-{
- struct gfs2_inode *inum;
- struct gfs2_inum_range inum_range;
- struct gfs2_inode *statfs;
- struct gfs2_statfs_change statfs_change;
- struct gfs2_inode *unlinked;
- struct gfs2_inode *quota;
- struct gfs2_quota_change quota_change;
-};
-
struct master_dir
{
struct gfs2_inode *inum;
uint64_t next_inum;
struct gfs2_inode *statfs;
- struct gfs2_statfs_change statfs_change;
-
- struct gfs2_rindex rindex;
struct gfs2_inode *qinode;
- struct gfs2_quota quotas;
struct gfs2_inode *jiinode;
struct gfs2_inode *riinode;
struct gfs2_inode *rooti;
struct gfs2_inode *pinode;
-
+
struct gfs2_inode **journal; /* Array of journals */
uint32_t journals; /* Journal count */
- struct per_node *pn; /* Array of per_node entries */
};
struct gfs2_sbd {