diff options
-rw-r--r-- | fs/ocfs2/journal.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/ocfs2/journal.c b/fs/ocfs2/journal.c index 7e5f7ce4761b..0e1250c2ef44 100644 --- a/fs/ocfs2/journal.c +++ b/fs/ocfs2/journal.c | |||
@@ -193,11 +193,15 @@ int ocfs2_extend_trans(handle_t *handle, int nblocks) | |||
193 | 193 | ||
194 | mlog(0, "Trying to extend transaction by %d blocks\n", nblocks); | 194 | mlog(0, "Trying to extend transaction by %d blocks\n", nblocks); |
195 | 195 | ||
196 | #ifdef OCFS2_DEBUG_FS | ||
197 | status = 1; | ||
198 | #else | ||
196 | status = journal_extend(handle, nblocks); | 199 | status = journal_extend(handle, nblocks); |
197 | if (status < 0) { | 200 | if (status < 0) { |
198 | mlog_errno(status); | 201 | mlog_errno(status); |
199 | goto bail; | 202 | goto bail; |
200 | } | 203 | } |
204 | #endif | ||
201 | 205 | ||
202 | if (status > 0) { | 206 | if (status > 0) { |
203 | mlog(0, "journal_extend failed, trying journal_restart\n"); | 207 | mlog(0, "journal_extend failed, trying journal_restart\n"); |