summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/trans.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/trans.h')
-rw-r--r--fs/gfs2/trans.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/fs/gfs2/trans.h b/fs/gfs2/trans.h
index 6550d3d..23d4cbe 100644
--- a/fs/gfs2/trans.h
+++ b/fs/gfs2/trans.h
@@ -10,6 +10,11 @@
#ifndef __TRANS_DOT_H__
#define __TRANS_DOT_H__
+#include <linux/buffer_head.h>
+struct gfs2_sbd;
+struct gfs2_rgrpd;
+struct gfs2_glock;
+
#define RES_DINODE 1
#define RES_INDIRECT 1
#define RES_JDATA 1
@@ -20,8 +25,8 @@
#define RES_STATFS 1
#define RES_QUOTA 2
-int gfs2_trans_begin(struct gfs2_sbd *sdp,
- unsigned int blocks, unsigned int revokes);
+int gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks,
+ unsigned int revokes);
void gfs2_trans_end(struct gfs2_sbd *sdp);
OpenPOWER on IntegriCloud