* [PATCH 3/3] : Update ocfs2 for the changed jbd2 transaction allocation routines
@ 2011-01-23 3:36 Manish Katiyar
2011-01-23 3:51 ` Joel Becker
0 siblings, 1 reply; 2+ messages in thread
From: Manish Katiyar @ 2011-01-23 3:36 UTC (permalink / raw)
To: Jan Kara, ext4; +Cc: mkatiyar
Hi Jan,
Update ocfs2 to use the updated transaction allocation routine. They
still pass the old flag.
Signed-off-by: Manish Katiyar <mkatiyar@gmail.com>
---
fs/ocfs2/journal.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/fs/ocfs2/journal.c b/fs/ocfs2/journal.c
index faa2303..6435a58 100644
--- a/fs/ocfs2/journal.c
+++ b/fs/ocfs2/journal.c
@@ -356,11 +356,11 @@ handle_t *ocfs2_start_trans(struct ocfs2_super
*osb, int max_buffs)
/* Nested transaction? Just return the handle... */
if (journal_current_handle())
- return jbd2_journal_start(journal, max_buffs);
+ return jbd2_journal_start(journal, max_buffs, false);
down_read(&osb->journal->j_trans_barrier);
- handle = jbd2_journal_start(journal, max_buffs);
+ handle = jbd2_journal_start(journal, max_buffs, false);
if (IS_ERR(handle)) {
up_read(&osb->journal->j_trans_barrier);
@@ -444,7 +444,7 @@ int ocfs2_extend_trans(handle_t *handle, int nblocks)
"jbd2_journal_extend failed, trying "
"jbd2_journal_restart\n");
status = jbd2_journal_restart(handle,
- old_nblocks + nblocks);
+ old_nblocks + nblocks, false);
if (status < 0) {
mlog_errno(status);
goto bail;
--
1.6.0.4
--
Thanks -
Manish
==================================
[$\*.^ -- I miss being one of them
==================================
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 3/3] : Update ocfs2 for the changed jbd2 transaction allocation routines
2011-01-23 3:36 [PATCH 3/3] : Update ocfs2 for the changed jbd2 transaction allocation routines Manish Katiyar
@ 2011-01-23 3:51 ` Joel Becker
0 siblings, 0 replies; 2+ messages in thread
From: Joel Becker @ 2011-01-23 3:51 UTC (permalink / raw)
To: Manish Katiyar; +Cc: Jan Kara, ext4
On Sat, Jan 22, 2011 at 07:36:38PM -0800, Manish Katiyar wrote:
> Hi Jan,
>
> Update ocfs2 to use the updated transaction allocation routine. They
> still pass the old flag.
>
> Signed-off-by: Manish Katiyar <mkatiyar@gmail.com>
I think this is correct. Thanks for noticing!
Joel
--
Life's Little Instruction Book #20
"Be forgiving of yourself and others."
http://www.jlbec.org/
jlbec@evilplan.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-23 3:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-23 3:36 [PATCH 3/3] : Update ocfs2 for the changed jbd2 transaction allocation routines Manish Katiyar
2011-01-23 3:51 ` Joel Becker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).