blob: d3b76d0cdc81b0bf5632acb8ec4fe9a19565c239 [file] [log] [blame]
David Teiglandb3b94fa2006-01-16 16:50:04 +00001/*
2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
Robert Peterson7ae8fa82007-05-09 09:37:57 -05003 * Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved.
David Teiglandb3b94fa2006-01-16 16:50:04 +00004 *
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 Whitehousee9fc2aa2006-09-01 11:05:15 -04007 * of the GNU General Public License version 2.
David Teiglandb3b94fa2006-01-16 16:50:04 +00008 */
9
10#ifndef __OPS_ADDRESS_DOT_H__
11#define __OPS_ADDRESS_DOT_H__
12
Steven Whitehousef2f7ba52006-09-05 10:39:21 -040013#include <linux/fs.h>
14#include <linux/buffer_head.h>
15#include <linux/mm.h>
16
Steven Whitehouse4ff14672006-01-30 09:39:10 +000017extern int gfs2_get_block(struct inode *inode, sector_t lblock,
18 struct buffer_head *bh_result, int create);
Steven Whitehouse4340fe62006-07-11 09:46:33 -040019extern int gfs2_releasepage(struct page *page, gfp_t gfp_mask);
Steven Whitehouse51ff87b2007-10-15 14:42:35 +010020extern int gfs2_internal_read(struct gfs2_inode *ip,
21 struct file_ra_state *ra_state,
22 char *buf, loff_t *pos, unsigned size);
Steven Whitehouse55610932007-10-17 08:47:38 +010023extern void gfs2_set_aops(struct inode *inode);
David Teiglandb3b94fa2006-01-16 16:50:04 +000024
25#endif /* __OPS_ADDRESS_DOT_H__ */