[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>
This commit is contained in:
Steven Whitehouse
2006-09-05 10:39:21 -04:00
父節點 2bdbc5d739
當前提交 f2f7ba5237
共有 27 個文件被更改,包括 77 次插入2 次删除

查看文件

@@ -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);