aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/journal.h
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2006-10-05 17:15:36 -0400
committerMark Fasheh <mark.fasheh@oracle.com>2006-12-01 21:27:04 -0500
commit1fc581467e52546195c7ee8233a34d63c1cc1322 (patch)
tree7aa909dfd9f48c29c7e086aa6c929c8444b461a8 /fs/ocfs2/journal.h
parent01ddf1e186b3b12b38c9e44912e0fd6a1cbc882b (diff)
ocfs2: have ocfs2_extend_trans() take handle_t
No reason to use our wrapper struct in this function, so take the handle_t directly. Also fixes a bug where we were incorrectly setting the handle to NULL in case of a failure from journal_restart() Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/journal.h')
-rw-r--r--fs/ocfs2/journal.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ocfs2/journal.h b/fs/ocfs2/journal.h
index 35ae835e9698..9f3d79dac33b 100644
--- a/fs/ocfs2/journal.h
+++ b/fs/ocfs2/journal.h
@@ -264,8 +264,7 @@ struct ocfs2_journal_handle *ocfs2_start_trans(struct ocfs2_super *osb,
264 struct ocfs2_journal_handle *handle, 264 struct ocfs2_journal_handle *handle,
265 int max_buffs); 265 int max_buffs);
266void ocfs2_commit_trans(struct ocfs2_journal_handle *handle); 266void ocfs2_commit_trans(struct ocfs2_journal_handle *handle);
267int ocfs2_extend_trans(struct ocfs2_journal_handle *handle, 267int ocfs2_extend_trans(handle_t *handle, int nblocks);
268 int nblocks);
269 268
270/* 269/*
271 * Create access is for when we get a newly created buffer and we're 270 * Create access is for when we get a newly created buffer and we're