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:
Axel Dörfler 2004-01-26 12:29:26 +00:00
parent 97a08414e0
commit 965c8c8b4d

View File

@ -312,7 +312,7 @@ Volume::Mount(const char *deviceName, uint32 flags)
fJournal = new Journal(this);
// replaying the log is the first thing we will do on this disk
if (fJournal && fJournal->InitCheck() < B_OK
&& fBlockAllocator.Initialize() < B_OK) {
|| fBlockAllocator.Initialize() < B_OK) {
// ToDo: improve error reporting for a bad journal
FATAL(("could not initialize journal/block bitmap allocator!\n"));
return B_NO_MEMORY;