* 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:
@@ -304,9 +304,9 @@ Volume::IsValidSuperBlock()
|
|||||||
void
|
void
|
||||||
Volume::Panic()
|
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;
|
fFlags |= VOLUME_READ_ONLY;
|
||||||
#ifdef DEBUG
|
#if KDEBUG
|
||||||
kernel_debugger("BFS panics!");
|
kernel_debugger("BFS panics!");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user