From 965c8c8b4da89d44cc367f75f185569f4db1fa12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 26 Jan 2004 12:29:26 +0000 Subject: [PATCH] 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 --- src/add-ons/kernel/file_systems/bfs/Volume.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/kernel/file_systems/bfs/Volume.cpp b/src/add-ons/kernel/file_systems/bfs/Volume.cpp index cb8281d2cb..10b7d496d7 100644 --- a/src/add-ons/kernel/file_systems/bfs/Volume.cpp +++ b/src/add-ons/kernel/file_systems/bfs/Volume.cpp @@ -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;