diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-05 10:39:21 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-05 10:39:21 -0400 |
commit | f2f7ba5237e2fe10ba3e328a4f728b9e1ff141da (patch) | |
tree | ab55597fa51321ba74e60d17b6fb449e23e8145c /fs/gfs2/trans.h | |
parent | 2bdbc5d73961c040fdc9b30d985fab3047d697a0 (diff) |
[GFS2] Make headers compile on their own
As per Jan Engelhardt's comments, this should make all the headers
compile on their own by including and/or declaring structures
early.
Cc: Jan Engelhardt <jengelh@linux01.gwdg.de>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/trans.h')
-rw-r--r-- | fs/gfs2/trans.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/fs/gfs2/trans.h b/fs/gfs2/trans.h index 6550d3d18263..23d4cbe1de5b 100644 --- a/fs/gfs2/trans.h +++ b/fs/gfs2/trans.h | |||
@@ -10,6 +10,11 @@ | |||
10 | #ifndef __TRANS_DOT_H__ | 10 | #ifndef __TRANS_DOT_H__ |
11 | #define __TRANS_DOT_H__ | 11 | #define __TRANS_DOT_H__ |
12 | 12 | ||
13 | #include <linux/buffer_head.h> | ||
14 | struct gfs2_sbd; | ||
15 | struct gfs2_rgrpd; | ||
16 | struct gfs2_glock; | ||
17 | |||
13 | #define RES_DINODE 1 | 18 | #define RES_DINODE 1 |
14 | #define RES_INDIRECT 1 | 19 | #define RES_INDIRECT 1 |
15 | #define RES_JDATA 1 | 20 | #define RES_JDATA 1 |
@@ -20,8 +25,8 @@ | |||
20 | #define RES_STATFS 1 | 25 | #define RES_STATFS 1 |
21 | #define RES_QUOTA 2 | 26 | #define RES_QUOTA 2 |
22 | 27 | ||
23 | int gfs2_trans_begin(struct gfs2_sbd *sdp, | 28 | int gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks, |
24 | unsigned int blocks, unsigned int revokes); | 29 | unsigned int revokes); |
25 | 30 | ||
26 | void gfs2_trans_end(struct gfs2_sbd *sdp); | 31 | void gfs2_trans_end(struct gfs2_sbd *sdp); |
27 | 32 | ||