aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/suballoc.h
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2006-10-09 21:11:45 -0400
committerMark Fasheh <mark.fasheh@oracle.com>2006-12-01 21:28:28 -0500
commit1fabe1481fac9e01bf8bffa60a2307ef379aa5de (patch)
tree17092c1be837ed95c8f26646003e9e49cfdb9663 /fs/ocfs2/suballoc.h
parent65eff9ccf86d63eb5c3e9071450a36e4e4fa9564 (diff)
ocfs2: Remove struct ocfs2_journal_handle in favor of handle_t
This is mostly a search and replace as ocfs2_journal_handle is now no more than a container for a handle_t pointer. ocfs2_commit_trans() becomes very straight forward, and we remove some out of date comments / code. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/suballoc.h')
-rw-r--r--fs/ocfs2/suballoc.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/ocfs2/suballoc.h b/fs/ocfs2/suballoc.h
index e7c4b277c8d6..1a3c94cb9250 100644
--- a/fs/ocfs2/suballoc.h
+++ b/fs/ocfs2/suballoc.h
@@ -68,33 +68,33 @@ int ocfs2_reserve_clusters(struct ocfs2_super *osb,
68 struct ocfs2_alloc_context **ac); 68 struct ocfs2_alloc_context **ac);
69 69
70int ocfs2_claim_metadata(struct ocfs2_super *osb, 70int ocfs2_claim_metadata(struct ocfs2_super *osb,
71 struct ocfs2_journal_handle *handle, 71 handle_t *handle,
72 struct ocfs2_alloc_context *ac, 72 struct ocfs2_alloc_context *ac,
73 u32 bits_wanted, 73 u32 bits_wanted,
74 u16 *suballoc_bit_start, 74 u16 *suballoc_bit_start,
75 u32 *num_bits, 75 u32 *num_bits,
76 u64 *blkno_start); 76 u64 *blkno_start);
77int ocfs2_claim_new_inode(struct ocfs2_super *osb, 77int ocfs2_claim_new_inode(struct ocfs2_super *osb,
78 struct ocfs2_journal_handle *handle, 78 handle_t *handle,
79 struct ocfs2_alloc_context *ac, 79 struct ocfs2_alloc_context *ac,
80 u16 *suballoc_bit, 80 u16 *suballoc_bit,
81 u64 *fe_blkno); 81 u64 *fe_blkno);
82int ocfs2_claim_clusters(struct ocfs2_super *osb, 82int ocfs2_claim_clusters(struct ocfs2_super *osb,
83 struct ocfs2_journal_handle *handle, 83 handle_t *handle,
84 struct ocfs2_alloc_context *ac, 84 struct ocfs2_alloc_context *ac,
85 u32 min_clusters, 85 u32 min_clusters,
86 u32 *cluster_start, 86 u32 *cluster_start,
87 u32 *num_clusters); 87 u32 *num_clusters);
88 88
89int ocfs2_free_dinode(struct ocfs2_journal_handle *handle, 89int ocfs2_free_dinode(handle_t *handle,
90 struct inode *inode_alloc_inode, 90 struct inode *inode_alloc_inode,
91 struct buffer_head *inode_alloc_bh, 91 struct buffer_head *inode_alloc_bh,
92 struct ocfs2_dinode *di); 92 struct ocfs2_dinode *di);
93int ocfs2_free_extent_block(struct ocfs2_journal_handle *handle, 93int ocfs2_free_extent_block(handle_t *handle,
94 struct inode *eb_alloc_inode, 94 struct inode *eb_alloc_inode,
95 struct buffer_head *eb_alloc_bh, 95 struct buffer_head *eb_alloc_bh,
96 struct ocfs2_extent_block *eb); 96 struct ocfs2_extent_block *eb);
97int ocfs2_free_clusters(struct ocfs2_journal_handle *handle, 97int ocfs2_free_clusters(handle_t *handle,
98 struct inode *bitmap_inode, 98 struct inode *bitmap_inode,
99 struct buffer_head *bitmap_bh, 99 struct buffer_head *bitmap_bh,
100 u64 start_blk, 100 u64 start_blk,