aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/journal.c
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2006-10-09 19:48:10 -0400
committerMark Fasheh <mark.fasheh@oracle.com>2006-12-01 21:28:08 -0500
commit02dc1af44e9fa4b8801169891b3a1ba4047537ad (patch)
treedb84e9ec9731dcfcf91bea226403881d0feccb49 /fs/ocfs2/journal.c
parent4bcec1847ac4f75c2ee6d091b495f34d8d822e6a (diff)
ocfs2: pass ocfs2_super * into ocfs2_commit_trans()
This sets us up to remove handle->journal. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/journal.c')
-rw-r--r--fs/ocfs2/journal.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ocfs2/journal.c b/fs/ocfs2/journal.c
index 61db8e7fffa5..00402e749fc6 100644
--- a/fs/ocfs2/journal.c
+++ b/fs/ocfs2/journal.c
@@ -195,11 +195,12 @@ done_free:
195 return ERR_PTR(ret); 195 return ERR_PTR(ret);
196} 196}
197 197
198void ocfs2_commit_trans(struct ocfs2_journal_handle *handle) 198void ocfs2_commit_trans(struct ocfs2_super *osb,
199 struct ocfs2_journal_handle *handle)
199{ 200{
200 handle_t *jbd_handle; 201 handle_t *jbd_handle;
201 int retval; 202 int retval;
202 struct ocfs2_journal *journal = handle->journal; 203 struct ocfs2_journal *journal = osb->journal;
203 204
204 mlog_entry_void(); 205 mlog_entry_void();
205 206