Fixed the Volume::Mount() call; BlockAllocator::Initialize() was never
called since last change (could mount volumes, but cannot write to them anymore without errors). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6328 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
97a08414e0
commit
965c8c8b4d
@ -312,7 +312,7 @@ Volume::Mount(const char *deviceName, uint32 flags)
|
|||||||
fJournal = new Journal(this);
|
fJournal = new Journal(this);
|
||||||
// replaying the log is the first thing we will do on this disk
|
// replaying the log is the first thing we will do on this disk
|
||||||
if (fJournal && fJournal->InitCheck() < B_OK
|
if (fJournal && fJournal->InitCheck() < B_OK
|
||||||
&& fBlockAllocator.Initialize() < B_OK) {
|
|| fBlockAllocator.Initialize() < B_OK) {
|
||||||
// ToDo: improve error reporting for a bad journal
|
// ToDo: improve error reporting for a bad journal
|
||||||
FATAL(("could not initialize journal/block bitmap allocator!\n"));
|
FATAL(("could not initialize journal/block bitmap allocator!\n"));
|
||||||
return B_NO_MEMORY;
|
return B_NO_MEMORY;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user