revert-mm-fix-blkdev-size-calculation-in-generic_write_checks
[linux-2.6/linux-trees-mm.git] / fs / gfs2 / ops_address.h
blobd3b76d0cdc81b0bf5632acb8ec4fe9a19565c239
1 /*
2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
3 * Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved.
5 * This copyrighted material is made available to anyone wishing to use,
6 * modify, copy, or redistribute it subject to the terms and conditions
7 * of the GNU General Public License version 2.
8 */
10 #ifndef __OPS_ADDRESS_DOT_H__
11 #define __OPS_ADDRESS_DOT_H__
13 #include <linux/fs.h>
14 #include <linux/buffer_head.h>
15 #include <linux/mm.h>
17 extern int gfs2_get_block(struct inode *inode, sector_t lblock,
18 struct buffer_head *bh_result, int create);
19 extern int gfs2_releasepage(struct page *page, gfp_t gfp_mask);
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);
23 extern void gfs2_set_aops(struct inode *inode);
25 #endif /* __OPS_ADDRESS_DOT_H__ */