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/ops_address.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/ops_address.h')
-rw-r--r-- | fs/gfs2/ops_address.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/gfs2/ops_address.h b/fs/gfs2/ops_address.h index 6c07aa2bd98a..35aaee4aa7e1 100644 --- a/fs/gfs2/ops_address.h +++ b/fs/gfs2/ops_address.h | |||
@@ -10,6 +10,10 @@ | |||
10 | #ifndef __OPS_ADDRESS_DOT_H__ | 10 | #ifndef __OPS_ADDRESS_DOT_H__ |
11 | #define __OPS_ADDRESS_DOT_H__ | 11 | #define __OPS_ADDRESS_DOT_H__ |
12 | 12 | ||
13 | #include <linux/fs.h> | ||
14 | #include <linux/buffer_head.h> | ||
15 | #include <linux/mm.h> | ||
16 | |||
13 | extern const struct address_space_operations gfs2_file_aops; | 17 | extern const struct address_space_operations gfs2_file_aops; |
14 | extern int gfs2_get_block(struct inode *inode, sector_t lblock, | 18 | extern int gfs2_get_block(struct inode *inode, sector_t lblock, |
15 | struct buffer_head *bh_result, int create); | 19 | struct buffer_head *bh_result, int create); |