aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorSteven Whitehouse <steve@chygwyn.com>2006-01-18 08:14:40 -0500
committerSteven Whitehouse <steve@chygwyn.com>2006-01-18 08:14:40 -0500
commit64fb4eb7d4cc9de89f4d9b9061adde46ed3b5641 (patch)
tree973c910cdf963f2e546ef0e8fcc93c16a7c04905 /fs/gfs2/incore.h
parent586dfdaaf328d79bb356d760db963b03a75a4131 (diff)
[GFS2] Remove gfs2_databuf in favour of gfs2_bufdata structure
Removing the gfs2_databuf structure and using gfs2_bufdata instead is a step towards allowing journaling of data without requiring the metadata header on each journaled block. The idea is to merge the code paths for ordered data with that of journaled data, with the log operations in lops.c tacking account of the different types of buffers as they are presented to it. Largely the code path for metadata will be similar too, but obviously through a different set of log operations. 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, 0 insertions, 6 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index 3ed0a7f26e4..3bc40ff5fdf 100644
--- a/fs/gfs2/incore.h
+++ b/fs/gfs2/incore.h
@@ -25,7 +25,6 @@ struct gfs2_log_element;
25struct gfs2_bitmap; 25struct gfs2_bitmap;
26struct gfs2_rgrpd; 26struct gfs2_rgrpd;
27struct gfs2_bufdata; 27struct gfs2_bufdata;
28struct gfs2_databuf;
29struct gfs2_glock_operations; 28struct gfs2_glock_operations;
30struct gfs2_holder; 29struct gfs2_holder;
31struct gfs2_glock; 30struct gfs2_glock;
@@ -116,11 +115,6 @@ struct gfs2_bufdata {
116 struct list_head bd_ail_gl_list; 115 struct list_head bd_ail_gl_list;
117}; 116};
118 117
119struct gfs2_databuf {
120 struct gfs2_log_element db_le;
121 struct buffer_head *db_bh;
122};
123
124struct gfs2_glock_operations { 118struct gfs2_glock_operations {
125 void (*go_xmote_th) (struct gfs2_glock * gl, unsigned int state, 119 void (*go_xmote_th) (struct gfs2_glock * gl, unsigned int state,
126 int flags); 120 int flags);