summaryrefslogtreecommitdiffstats
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)
downloadop-kernel-dev-f6e58f01e8dc869803b9f73b2aa9d5bc3f32ca05.zip
op-kernel-dev-f6e58f01e8dc869803b9f73b2aa9d5bc3f32ca05.tar.gz
[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 536575e..8b7e4c1 100644
--- a/include/linux/gfs2_ondisk.h
+++ b/include/linux/gfs2_ondisk.h
@@ -213,8 +213,6 @@ struct gfs2_rgrp {
};
struct gfs2_rgrp_host {
- struct gfs2_meta_header_host rg_header;
-
__u32 rg_flags;
__u32 rg_free;
__u32 rg_dinodes;
OpenPOWER on IntegriCloud