[PATCH] dio: invalidate clean pages before dio write
[linux-2.6.22.y-op.git] / fs / gfs2 / ops_address.h
blob35aaee4aa7e1323aea5824948c6ee99529ac2184
1 /*
2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
3 * Copyright (C) 2004-2006 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 const struct address_space_operations gfs2_file_aops;
18 extern int gfs2_get_block(struct inode *inode, sector_t lblock,
19 struct buffer_head *bh_result, int create);
20 extern int gfs2_releasepage(struct page *page, gfp_t gfp_mask);
22 #endif /* __OPS_ADDRESS_DOT_H__ */