1 /* Copyright 2001, 2002, 2003 by Hans Reiser, licensing governed by
4 /* vfs_ops.c's exported symbols */
6 #if !defined( __FS_REISER4_VFS_OPS_H__ )
7 #define __FS_REISER4_VFS_OPS_H__
12 #include "plugin/file/file.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 */
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__ */
46 c-indentation-style: "K&R"