summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/journal.c
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2006-10-10 01:48:10 +0200
committerMark Fasheh <mark.fasheh@oracle.com>2006-12-02 03:28:08 +0100
commit02dc1af44e9fa4b8801169891b3a1ba4047537ad (patch)
treedb84e9ec9731dcfcf91bea226403881d0feccb49 /fs/ocfs2/journal.c
parentocfs2: remove unused handle argument from ocfs2_meta_lock_full() (diff)
downloadlinux-02dc1af44e9fa4b8801169891b3a1ba4047537ad.tar.xz
linux-02dc1af44e9fa4b8801169891b3a1ba4047537ad.zip
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:
return ERR_PTR(ret);
}
-void ocfs2_commit_trans(struct ocfs2_journal_handle *handle)
+void ocfs2_commit_trans(struct ocfs2_super *osb,
+ struct ocfs2_journal_handle *handle)
{
handle_t *jbd_handle;
int retval;
- struct ocfs2_journal *journal = handle->journal;
+ struct ocfs2_journal *journal = osb->journal;
mlog_entry_void();