diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2008-02-01 05:34:15 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2008-03-31 05:40:39 -0400 |
commit | ac576cc5bed0dd7759e2b196468c7df93d6aeeee (patch) | |
tree | dc3a36d5a3d8042f041ffe1381accb8af7dc5725 /fs/gfs2/incore.h | |
parent | ce276b06e8b81845926387e93f77bf81e14b5cc2 (diff) |
[GFS2] Merge the rd_last_alloc_meta and rd_last_alloc_data fields
We don't need to keep track of when we last allocated data
and metadata separately since the only thing thats important
when searching for a free block is whether its free or not,
which is independent from what type of block it is.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r-- | fs/gfs2/incore.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index c50dcdf79929..898b456b386f 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h | |||
@@ -90,8 +90,7 @@ struct gfs2_rgrpd { | |||
90 | struct mutex rd_mutex; | 90 | struct mutex rd_mutex; |
91 | u32 rd_free_clone; | 91 | u32 rd_free_clone; |
92 | struct gfs2_log_element rd_le; | 92 | struct gfs2_log_element rd_le; |
93 | u32 rd_last_alloc_data; | 93 | u32 rd_last_alloc; |
94 | u32 rd_last_alloc_meta; | ||
95 | struct gfs2_sbd *rd_sbd; | 94 | struct gfs2_sbd *rd_sbd; |
96 | unsigned char rd_flags; | 95 | unsigned char rd_flags; |
97 | #define GFS2_RDF_CHECK 0x01 /* Need to check for unlinked inodes */ | 96 | #define GFS2_RDF_CHECK 0x01 /* Need to check for unlinked inodes */ |