aboutsummaryrefslogtreecommitdiffstats
path: root/fs
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
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')
-rw-r--r--fs/ocfs2/journal.c2
-rw-r--r--fs/ocfs2/journal.h6
2 files changed, 1 insertions, 7 deletions
diff --git a/fs/ocfs2/journal.c b/fs/ocfs2/journal.c
index 3ef1678c893a..f070487a0551 100644
--- a/fs/ocfs2/journal.c
+++ b/fs/ocfs2/journal.c
@@ -110,7 +110,7 @@ finally:
110 return status; 110 return status;
111} 111}
112 112
113struct ocfs2_journal_handle *ocfs2_alloc_handle(struct ocfs2_super *osb) 113static struct ocfs2_journal_handle *ocfs2_alloc_handle(struct ocfs2_super *osb)
114{ 114{
115 struct ocfs2_journal_handle *retval = NULL; 115 struct ocfs2_journal_handle *retval = NULL;
116 116
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);