diff options
author | Mark Fasheh <mark.fasheh@oracle.com> | 2006-10-09 19:48:10 -0400 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2006-12-01 21:28:08 -0500 |
commit | 02dc1af44e9fa4b8801169891b3a1ba4047537ad (patch) | |
tree | db84e9ec9731dcfcf91bea226403881d0feccb49 /fs/ocfs2/journal.c | |
parent | 4bcec1847ac4f75c2ee6d091b495f34d8d822e6a (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.c | 5 |
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: | |||
195 | return ERR_PTR(ret); | 195 | return ERR_PTR(ret); |
196 | } | 196 | } |
197 | 197 | ||
198 | void ocfs2_commit_trans(struct ocfs2_journal_handle *handle) | 198 | void 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 | ||