aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/gfs2.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/gfs2.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/gfs2.h')
-rw-r--r--fs/gfs2/gfs2.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/gfs2/gfs2.h b/fs/gfs2/gfs2.h
index a5d118238466..6c53d080675c 100644
--- a/fs/gfs2/gfs2.h
+++ b/fs/gfs2/gfs2.h
@@ -45,8 +45,6 @@ enum {
45#define set_v2fp(file, fp) (file)->private_data = (fp) 45#define set_v2fp(file, fp) (file)->private_data = (fp)
46#define get_v2bd(bh) ((struct gfs2_bufdata *)(bh)->b_private) 46#define get_v2bd(bh) ((struct gfs2_bufdata *)(bh)->b_private)
47#define set_v2bd(bh, bd) (bh)->b_private = (bd) 47#define set_v2bd(bh, bd) (bh)->b_private = (bd)
48#define get_v2db(bh) ((struct gfs2_databuf *)(bh)->b_private)
49#define set_v2db(bh, db) (bh)->b_private = (db)
50 48
51#define get_transaction ((struct gfs2_trans *)(current->journal_info)) 49#define get_transaction ((struct gfs2_trans *)(current->journal_info))
52#define set_transaction(tr) (current->journal_info) = (tr) 50#define set_transaction(tr) (current->journal_info) = (tr)