aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2008-02-01 10:34:15 +0000
committerSteven Whitehouse <swhiteho@redhat.com>2008-03-31 10:40:39 +0100
commitac576cc5bed0dd7759e2b196468c7df93d6aeeee (patch)
treedc3a36d5a3d8042f041ffe1381accb8af7dc5725 /fs/gfs2/incore.h
parentce276b06e8b81845926387e93f77bf81e14b5cc2 (diff)
downloadkernel_samsung_aries-ac576cc5bed0dd7759e2b196468c7df93d6aeeee.zip
kernel_samsung_aries-ac576cc5bed0dd7759e2b196468c7df93d6aeeee.tar.gz
kernel_samsung_aries-ac576cc5bed0dd7759e2b196468c7df93d6aeeee.tar.bz2
[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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index c50dcdf..898b456 100644
--- a/fs/gfs2/incore.h
+++ b/fs/gfs2/incore.h
@@ -90,8 +90,7 @@ struct gfs2_rgrpd {
struct mutex rd_mutex;
u32 rd_free_clone;
struct gfs2_log_element rd_le;
- u32 rd_last_alloc_data;
- u32 rd_last_alloc_meta;
+ u32 rd_last_alloc;
struct gfs2_sbd *rd_sbd;
unsigned char rd_flags;
#define GFS2_RDF_CHECK 0x01 /* Need to check for unlinked inodes */