summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/journal.c
diff options
context:
space:
mode:
authorJoel Becker2008-06-13 07:35:39 +0200
committerMark Fasheh2008-07-14 22:57:15 +0200
commite407e39783a7206d20b3e9961aedf272de966e31 (patch)
treef38fb034a20b36ad016e4f5d80fbdd31c609fb67 /fs/ocfs2/journal.c
parentocfs2/net: Silence build warnings on sparc64 (diff)
downloadkernel-qcow2-linux-e407e39783a7206d20b3e9961aedf272de966e31.tar.gz
kernel-qcow2-linux-e407e39783a7206d20b3e9961aedf272de966e31.tar.xz
kernel-qcow2-linux-e407e39783a7206d20b3e9961aedf272de966e31.zip
ocfs2: Fix CONFIG_OCFS2_DEBUG_FS #ifdefs
A couple places use OCFS2_DEBUG_FS where they really mean CONFIG_OCFS2_DEBUG_FS. Reported-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/journal.c')
-rw-r--r--fs/ocfs2/journal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/journal.c b/fs/ocfs2/journal.c
index 9698338adc39..a8c19cb3cfdd 100644
--- a/fs/ocfs2/journal.c
+++ b/fs/ocfs2/journal.c
@@ -329,7 +329,7 @@ int ocfs2_extend_trans(handle_t *handle, int nblocks)
mlog(0, "Trying to extend transaction by %d blocks\n", nblocks);
-#ifdef OCFS2_DEBUG_FS
+#ifdef CONFIG_OCFS2_DEBUG_FS
status = 1;
#else
status = journal_extend(handle, nblocks);