From 8c86cb3eda8d0fb283924b38c974110600d9a721 Mon Sep 17 00:00:00 2001 From: Mark Fasheh Date: Mon, 3 Dec 2007 16:42:19 -0800 Subject: [PATCH] --- yaml --- r: 74955 b: refs/heads/master c: 0879c584ffcccd50a8d0f72cab3a51702613f901 h: refs/heads/master i: 74953: ee1087a1148e29bb18397a33695210cb00fe8354 74951: 2b838ee722374627beef64bbbd02c8bf234c6515 v: v3 --- [refs] | 2 +- trunk/fs/ocfs2/journal.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index b2e9e0f3cf10..0bb0157a4609 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 92295d8054289eff0d52b4d12349f9b9df0f58e4 +refs/heads/master: 0879c584ffcccd50a8d0f72cab3a51702613f901 diff --git a/trunk/fs/ocfs2/journal.c b/trunk/fs/ocfs2/journal.c index 7e5f7ce4761b..0e1250c2ef44 100644 --- a/trunk/fs/ocfs2/journal.c +++ b/trunk/fs/ocfs2/journal.c @@ -193,11 +193,15 @@ int ocfs2_extend_trans(handle_t *handle, int nblocks) mlog(0, "Trying to extend transaction by %d blocks\n", nblocks); +#ifdef OCFS2_DEBUG_FS + status = 1; +#else status = journal_extend(handle, nblocks); if (status < 0) { mlog_errno(status); goto bail; } +#endif if (status > 0) { mlog(0, "journal_extend failed, trying journal_restart\n");