summaryrefslogtreecommitdiff
path: root/fs/ocfs2/journal.c
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2006-10-09 16:48:10 -0700
committerMark Fasheh <mark.fasheh@oracle.com>2006-12-01 18:28:08 -0800
commit02dc1af44e9fa4b8801169891b3a1ba4047537ad (patch)
treedb84e9ec9731dcfcf91bea226403881d0feccb49 /fs/ocfs2/journal.c
parent4bcec1847ac4f75c2ee6d091b495f34d8d822e6a (diff)
downloadlinux-3.10-02dc1af44e9fa4b8801169891b3a1ba4047537ad.tar.gz
linux-3.10-02dc1af44e9fa4b8801169891b3a1ba4047537ad.tar.bz2
linux-3.10-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 61db8e7fffa..00402e749fc 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();