aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/gfs2_ondisk.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-11-07 15:14:58 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2006-11-30 10:34:36 -0500
commitf6e58f01e8dc869803b9f73b2aa9d5bc3f32ca05 (patch)
treee1498f970115a5af022dfe2603f2ec1ca36ecdc0 /include/linux/gfs2_ondisk.h
parent294caaa3b8304c0a14c5039691caf23363bd9369 (diff)
[GFS2] Don't copy meta_header for rgrp in and out
The meta_header for an ondisk rgrp never changes, so there is no point copying it in and back out to disk. Also there is no reason to keep a copy for each rgrp in memory. The code already checks to ensure that the header is correct before it calls the routine to copy the data in, so that we don't even need to check whether its correct on disk in the functions in ondisk.c Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'include/linux/gfs2_ondisk.h')
-rw-r--r--include/linux/gfs2_ondisk.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/gfs2_ondisk.h b/include/linux/gfs2_ondisk.h
index 536575efb62a..8b7e4c1e32ae 100644
--- a/include/linux/gfs2_ondisk.h
+++ b/include/linux/gfs2_ondisk.h
@@ -213,8 +213,6 @@ struct gfs2_rgrp {
213}; 213};
214 214
215struct gfs2_rgrp_host { 215struct gfs2_rgrp_host {
216 struct gfs2_meta_header_host rg_header;
217
218 __u32 rg_flags; 216 __u32 rg_flags;
219 __u32 rg_free; 217 __u32 rg_free;
220 __u32 rg_dinodes; 218 __u32 rg_dinodes;