[GFS2] Add generation number
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / gfs2 / page.h
1 /*
2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
3 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
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
7 * of the GNU General Public License v.2.
8 */
9
10 #ifndef __PAGE_DOT_H__
11 #define __PAGE_DOT_H__
12
13 void gfs2_pte_inval(struct gfs2_glock *gl);
14 void gfs2_page_inval(struct gfs2_glock *gl);
15 void gfs2_page_sync(struct gfs2_glock *gl, int flags);
16
17 int gfs2_unstuffer_page(struct gfs2_inode *ip, struct buffer_head *dibh,
18 uint64_t block, void *private);
19 int gfs2_block_truncate_page(struct address_space *mapping);
20 void gfs2_page_add_databufs(struct gfs2_inode *ip, struct page *page,
21 unsigned int from, unsigned int to);
22
23 #endif /* __PAGE_DOT_H__ */