gRoot is now defined in RootFileSystem.h, AddNode() is now called AddVolume().

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5100 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2003-10-21 03:59:39 +00:00
parent 6822f1482e
commit 77cfe0902a

View File

@ -4,6 +4,8 @@
*/
#include "RootFileSystem.h"
#include <boot/partitions.h>
#include <boot/vfs.h>
#include <boot/stdio.h>
@ -181,7 +183,7 @@ Partition::Mount(Directory **_fileSystem)
Directory *fileSystem;
if (module->get_file_system(this, &fileSystem) == B_OK) {
gRoot->AddNode(fileSystem);
gRoot->AddVolume(fileSystem);
if (_fileSystem)
*_fileSystem = fileSystem;