* 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
This commit is contained in:
Axel Dörfler 2009-07-26 13:15:26 +00:00
parent 6eec9d2552
commit f1d9ec9840

View File

@ -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
}