file.h (231b87d10920e024efaf0f9e86e1bab7bced1620) file.h (e7d4cb6bc19658646357eeff134645cd9bc3479f)
1/* -*- mode: c; c-basic-offset: 8; -*-
2 * vim: noexpandtab sw=8 ts=8 sts=0:
3 *
4 * file.h
5 *
6 * Function prototypes
7 *
8 * Copyright (C) 2002, 2004 Oracle. All rights reserved.

--- 43 unchanged lines hidden (view full) ---

52 int mark_unwritten,
53 struct buffer_head *fe_bh,
54 handle_t *handle,
55 struct ocfs2_alloc_context *data_ac,
56 struct ocfs2_alloc_context *meta_ac,
57 enum ocfs2_alloc_restarted *reason_ret);
58int ocfs2_extend_no_holes(struct inode *inode, u64 new_i_size,
59 u64 zero_to);
1/* -*- mode: c; c-basic-offset: 8; -*-
2 * vim: noexpandtab sw=8 ts=8 sts=0:
3 *
4 * file.h
5 *
6 * Function prototypes
7 *
8 * Copyright (C) 2002, 2004 Oracle. All rights reserved.

--- 43 unchanged lines hidden (view full) ---

52 int mark_unwritten,
53 struct buffer_head *fe_bh,
54 handle_t *handle,
55 struct ocfs2_alloc_context *data_ac,
56 struct ocfs2_alloc_context *meta_ac,
57 enum ocfs2_alloc_restarted *reason_ret);
58int ocfs2_extend_no_holes(struct inode *inode, u64 new_i_size,
59 u64 zero_to);
60int ocfs2_lock_allocators(struct inode *inode, struct buffer_head *fe,
61 u32 clusters_to_add, u32 extents_to_split,
62 struct ocfs2_alloc_context **data_ac,
63 struct ocfs2_alloc_context **meta_ac);
64int ocfs2_setattr(struct dentry *dentry, struct iattr *attr);
65int ocfs2_getattr(struct vfsmount *mnt, struct dentry *dentry,
66 struct kstat *stat);
67int ocfs2_permission(struct inode *inode, int mask);
68
69int ocfs2_should_update_atime(struct inode *inode,
70 struct vfsmount *vfsmnt);
71int ocfs2_update_inode_atime(struct inode *inode,
72 struct buffer_head *bh);
73
74int ocfs2_change_file_space(struct file *file, unsigned int cmd,
75 struct ocfs2_space_resv *sr);
76
77#endif /* OCFS2_FILE_H */
60int ocfs2_setattr(struct dentry *dentry, struct iattr *attr);
61int ocfs2_getattr(struct vfsmount *mnt, struct dentry *dentry,
62 struct kstat *stat);
63int ocfs2_permission(struct inode *inode, int mask);
64
65int ocfs2_should_update_atime(struct inode *inode,
66 struct vfsmount *vfsmnt);
67int ocfs2_update_inode_atime(struct inode *inode,
68 struct buffer_head *bh);
69
70int ocfs2_change_file_space(struct file *file, unsigned int cmd,
71 struct ocfs2_space_resv *sr);
72
73#endif /* OCFS2_FILE_H */