aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/journal.h
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2006-10-06 22:07:43 -0400
committerMark Fasheh <mark.fasheh@oracle.com>2006-12-01 21:28:00 -0500
commita301a27d715276a71827004549bcbb2b64776c11 (patch)
tree07ef204a136e628ef8982d33a832abf2897bd924 /fs/ocfs2/journal.h
parentdaf29e9cdab7219838c6b6e82380aec3466cf379 (diff)
ocfs2: make ocfs2_alloc_handle() static
This is no longer used outside of journal.c Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/journal.h')
-rw-r--r--fs/ocfs2/journal.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/ocfs2/journal.h b/fs/ocfs2/journal.h
index 7e9c1303d633..3e64e6b646a9 100644
--- a/fs/ocfs2/journal.h
+++ b/fs/ocfs2/journal.h
@@ -198,11 +198,6 @@ static inline void ocfs2_checkpoint_inode(struct inode *inode)
198 * Transaction Handling: 198 * Transaction Handling:
199 * Manage the lifetime of a transaction handle. 199 * Manage the lifetime of a transaction handle.
200 * 200 *
201 * ocfs2_alloc_handle - Only allocate a handle so we can start putting
202 * cluster locks on it. To actually change blocks,
203 * call ocfs2_start_trans with the handle returned
204 * from this function. You may call ocfs2_commit_trans
205 * at any time in the lifetime of a handle.
206 * ocfs2_start_trans - Begin a transaction. Give it an upper estimate of 201 * ocfs2_start_trans - Begin a transaction. Give it an upper estimate of
207 * the number of blocks that will be changed during 202 * the number of blocks that will be changed during
208 * this handle. 203 * this handle.
@@ -221,7 +216,6 @@ static inline void ocfs2_checkpoint_inode(struct inode *inode)
221/* You must always start_trans with a number of buffs > 0, but it's 216/* You must always start_trans with a number of buffs > 0, but it's
222 * perfectly legal to go through an entire transaction without having 217 * perfectly legal to go through an entire transaction without having
223 * dirtied any buffers. */ 218 * dirtied any buffers. */
224struct ocfs2_journal_handle *ocfs2_alloc_handle(struct ocfs2_super *osb);
225struct ocfs2_journal_handle *ocfs2_start_trans(struct ocfs2_super *osb, 219struct ocfs2_journal_handle *ocfs2_start_trans(struct ocfs2_super *osb,
226 struct ocfs2_journal_handle *handle, 220 struct ocfs2_journal_handle *handle,
227 int max_buffs); 221 int max_buffs);