aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/alloc.h
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2009-02-13 06:34:15 -0500
committerJoel Becker <joel.becker@oracle.com>2009-09-04 19:08:09 -0400
commitcbee7e1a6a1a2a3d6eda1f76ffc38a3ed3eeb6cc (patch)
tree438ac4917675c27ecd3dce694ae3affd7ebf6c91 /fs/ocfs2/alloc.h
parentcc79d8c19e9d39446525a1026f1a21761f5d3cd2 (diff)
ocfs2: ocfs2_add_clusters_in_btree() no longer needs struct inode.
One more function that doesn't need a struct inode to pass to its children. Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/alloc.h')
-rw-r--r--fs/ocfs2/alloc.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/ocfs2/alloc.h b/fs/ocfs2/alloc.h
index 99accd30af0e..d1d196eada8f 100644
--- a/fs/ocfs2/alloc.h
+++ b/fs/ocfs2/alloc.h
@@ -103,13 +103,11 @@ enum ocfs2_alloc_restarted {
103 RESTART_TRANS, 103 RESTART_TRANS,
104 RESTART_META 104 RESTART_META
105}; 105};
106int ocfs2_add_clusters_in_btree(struct ocfs2_super *osb, 106int ocfs2_add_clusters_in_btree(handle_t *handle,
107 struct inode *inode, 107 struct ocfs2_extent_tree *et,
108 u32 *logical_offset, 108 u32 *logical_offset,
109 u32 clusters_to_add, 109 u32 clusters_to_add,
110 int mark_unwritten, 110 int mark_unwritten,
111 struct ocfs2_extent_tree *et,
112 handle_t *handle,
113 struct ocfs2_alloc_context *data_ac, 111 struct ocfs2_alloc_context *data_ac,
114 struct ocfs2_alloc_context *meta_ac, 112 struct ocfs2_alloc_context *meta_ac,
115 enum ocfs2_alloc_restarted *reason_ret); 113 enum ocfs2_alloc_restarted *reason_ret);