aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
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);