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