aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/alloc.h
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2009-02-13 06:41:26 -0500
committerJoel Becker <joel.becker@oracle.com>2009-09-04 19:08:10 -0400
commitdbdcf6a48a40e6c9d7081393d793c4f1c5bb4fcf (patch)
treed50b179dbbe1a62ea98a0b65ecf33c9a86d906b0 /fs/ocfs2/alloc.h
parentcbee7e1a6a1a2a3d6eda1f76ffc38a3ed3eeb6cc (diff)
ocfs2: ocfs2_remove_extent() no longer needs struct inode.
One more generic btree function that is isolated from struct inode. Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/alloc.h')
-rw-r--r--fs/ocfs2/alloc.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/ocfs2/alloc.h b/fs/ocfs2/alloc.h
index d1d196eada8f..abc66ce9d418 100644
--- a/fs/ocfs2/alloc.h
+++ b/fs/ocfs2/alloc.h
@@ -117,9 +117,8 @@ int ocfs2_mark_extent_written(struct inode *inode,
117 handle_t *handle, u32 cpos, u32 len, u32 phys, 117 handle_t *handle, u32 cpos, u32 len, u32 phys,
118 struct ocfs2_alloc_context *meta_ac, 118 struct ocfs2_alloc_context *meta_ac,
119 struct ocfs2_cached_dealloc_ctxt *dealloc); 119 struct ocfs2_cached_dealloc_ctxt *dealloc);
120int ocfs2_remove_extent(struct inode *inode, 120int ocfs2_remove_extent(handle_t *handle, struct ocfs2_extent_tree *et,
121 struct ocfs2_extent_tree *et, 121 u32 cpos, u32 len,
122 u32 cpos, u32 len, handle_t *handle,
123 struct ocfs2_alloc_context *meta_ac, 122 struct ocfs2_alloc_context *meta_ac,
124 struct ocfs2_cached_dealloc_ctxt *dealloc); 123 struct ocfs2_cached_dealloc_ctxt *dealloc);
125int ocfs2_remove_btree_range(struct inode *inode, 124int ocfs2_remove_btree_range(struct inode *inode,