revert-mm-fix-blkdev-size-calculation-in-generic_write_checks
[linux-2.6/linux-trees-mm.git] / fs / reiser4 / vfs_ops.h
blob03e16ce84215a39aa6baa2288b04eb1d5b5e6ce0
1 /* Copyright 2001, 2002, 2003 by Hans Reiser, licensing governed by
2 * reiser4/README */
4 /* vfs_ops.c's exported symbols */
6 #if !defined( __FS_REISER4_VFS_OPS_H__ )
7 #define __FS_REISER4_VFS_OPS_H__
9 #include "forward.h"
10 #include "coord.h"
11 #include "seal.h"
12 #include "plugin/file/file.h"
13 #include "super.h"
14 #include "readahead.h"
16 #include <linux/types.h> /* for loff_t */
17 #include <linux/fs.h> /* for struct address_space */
18 #include <linux/dcache.h> /* for struct dentry */
19 #include <linux/mm.h>
20 #include <linux/backing-dev.h>
22 /* address space operations */
23 int reiser4_writepage(struct page *, struct writeback_control *);
24 int reiser4_set_page_dirty(struct page *);
25 void reiser4_invalidatepage(struct page *, unsigned long offset);
26 int reiser4_releasepage(struct page *, gfp_t);
28 extern int reiser4_update_sd(struct inode *);
29 extern int reiser4_add_nlink(struct inode *, struct inode *, int);
30 extern int reiser4_del_nlink(struct inode *, struct inode *, int);
32 extern int reiser4_start_up_io(struct page *page);
33 extern void reiser4_throttle_write(struct inode *);
34 extern int jnode_is_releasable(jnode *);
36 #define CAPTURE_APAGE_BURST (1024l)
37 void reiser4_writeout(struct super_block *, struct writeback_control *);
39 extern void reiser4_handle_error(void);
41 /* __FS_REISER4_VFS_OPS_H__ */
42 #endif
44 /* Make Linus happy.
45 Local variables:
46 c-indentation-style: "K&R"
47 mode-name: "LC"
48 c-basic-offset: 8
49 tab-width: 8
50 fill-column: 120
51 scroll-step: 1
52 End: