From f1d9ec98404eea2097d2654c5133f0ef490e1929 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sun, 26 Jul 2009 13:15:26 +0000 Subject: [PATCH] * Always drop into the debugger if KDEBUG is used when BFS detects a corruption that causes it switch to read-only mode. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31766 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/file_systems/bfs/Volume.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/add-ons/kernel/file_systems/bfs/Volume.cpp b/src/add-ons/kernel/file_systems/bfs/Volume.cpp index a60b7e9bb8..c59c41a818 100644 --- a/src/add-ons/kernel/file_systems/bfs/Volume.cpp +++ b/src/add-ons/kernel/file_systems/bfs/Volume.cpp @@ -304,9 +304,9 @@ Volume::IsValidSuperBlock() void Volume::Panic() { - FATAL(("we have to panic... switch to read-only mode!\n")); + FATAL(("Disk corrupted... switch to read-only mode!\n")); fFlags |= VOLUME_READ_ONLY; -#ifdef DEBUG +#if KDEBUG kernel_debugger("BFS panics!"); #endif }