summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2008-01-28 18:38:07 -0600
committerSteven Whitehouse <swhiteho@redhat.com>2008-03-31 10:40:10 +0100
commit42d52e3818751633656fb90df1bd5cb5362fa8cc (patch)
tree83097388e3e82f921cffa79499d30a5f09d6a020 /fs/gfs2/incore.h
parent6bdd9be628fa5f4dd14eb89ebddc12840d684277 (diff)
downloadlinux-42d52e3818751633656fb90df1bd5cb5362fa8cc.tar.bz2
[GFS2] Combine rg_flags and rd_flags
This patch reduces the memory required by GFS2 by combining the rd_flags and rg_flags (in core only). Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r--fs/gfs2/incore.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index 7ae12d2b6262..39bab7b213e9 100644
--- a/fs/gfs2/incore.h
+++ b/fs/gfs2/incore.h
@@ -69,7 +69,6 @@ struct gfs2_bitmap {
};
struct gfs2_rgrp_host {
- u32 rg_flags;
u32 rg_free;
u32 rg_dinodes;
u64 rg_igeneration;
@@ -95,8 +94,9 @@ struct gfs2_rgrpd {
u32 rd_last_alloc_data;
u32 rd_last_alloc_meta;
struct gfs2_sbd *rd_sbd;
- unsigned long rd_flags;
-#define GFS2_RDF_CHECK 0x0001 /* Need to check for unlinked inodes */
+ unsigned char rd_flags;
+#define GFS2_RDF_CHECK 0x01 /* Need to check for unlinked inodes */
+#define GFS2_RDF_NOALLOC 0x02 /* rg prohibits allocation */
};
enum gfs2_state_bits {