]> err.no Git - linux-2.6/blobdiff - fs/ocfs2/file.h
ocfs2: Use own splice write actor
[linux-2.6] / fs / ocfs2 / file.h
index cc973f01f6cee2264ffc0b3cad78c7ce52bbd1be..2c4460fced52b8aa1190a351a20561221ddf8ed3 100644 (file)
@@ -39,12 +39,17 @@ enum ocfs2_alloc_restarted {
 };
 int ocfs2_do_extend_allocation(struct ocfs2_super *osb,
                               struct inode *inode,
+                              u32 *cluster_start,
                               u32 clusters_to_add,
                               struct buffer_head *fe_bh,
                               handle_t *handle,
                               struct ocfs2_alloc_context *data_ac,
                               struct ocfs2_alloc_context *meta_ac,
                               enum ocfs2_alloc_restarted *reason);
+int ocfs2_lock_allocators(struct inode *inode, struct ocfs2_dinode *di,
+                         u32 clusters_to_add,
+                         struct ocfs2_alloc_context **data_ac,
+                         struct ocfs2_alloc_context **meta_ac);
 int ocfs2_setattr(struct dentry *dentry, struct iattr *attr);
 int ocfs2_getattr(struct vfsmount *mnt, struct dentry *dentry,
                  struct kstat *stat);