David Teigland | b3b94fa | 2006-01-16 16:50:04 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. |
Robert Peterson | 7ae8fa8 | 2007-05-09 09:37:57 -0500 | [diff] [blame] | 3 | * Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved. |
David Teigland | b3b94fa | 2006-01-16 16:50:04 +0000 | [diff] [blame] | 4 | * |
| 5 | * This copyrighted material is made available to anyone wishing to use, |
| 6 | * modify, copy, or redistribute it subject to the terms and conditions |
Steven Whitehouse | e9fc2aa | 2006-09-01 11:05:15 -0400 | [diff] [blame] | 7 | * of the GNU General Public License version 2. |
David Teigland | b3b94fa | 2006-01-16 16:50:04 +0000 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | #ifndef __OPS_ADDRESS_DOT_H__ |
| 11 | #define __OPS_ADDRESS_DOT_H__ |
| 12 | |
Steven Whitehouse | f2f7ba5 | 2006-09-05 10:39:21 -0400 | [diff] [blame] | 13 | #include <linux/fs.h> |
| 14 | #include <linux/buffer_head.h> |
| 15 | #include <linux/mm.h> |
| 16 | |
Steven Whitehouse | 4ff1467 | 2006-01-30 09:39:10 +0000 | [diff] [blame] | 17 | extern int gfs2_get_block(struct inode *inode, sector_t lblock, |
| 18 | struct buffer_head *bh_result, int create); |
Steven Whitehouse | 4340fe6 | 2006-07-11 09:46:33 -0400 | [diff] [blame] | 19 | extern int gfs2_releasepage(struct page *page, gfp_t gfp_mask); |
Steven Whitehouse | 51ff87b | 2007-10-15 14:42:35 +0100 | [diff] [blame] | 20 | extern int gfs2_internal_read(struct gfs2_inode *ip, |
| 21 | struct file_ra_state *ra_state, |
| 22 | char *buf, loff_t *pos, unsigned size); |
Steven Whitehouse | 5561093 | 2007-10-17 08:47:38 +0100 | [diff] [blame] | 23 | extern void gfs2_set_aops(struct inode *inode); |
David Teigland | b3b94fa | 2006-01-16 16:50:04 +0000 | [diff] [blame] | 24 | |
| 25 | #endif /* __OPS_ADDRESS_DOT_H__ */ |