Needs to use publish_vnode() now (since the vnode can be accessed immediately).

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11721 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-03-14 01:39:15 +00:00
parent 07646c514a
commit 9e0a730ddf

View File

@ -335,7 +335,7 @@ Volume::Mount(const char *deviceName, uint32 flags)
fRootNode = new Inode(this, ToVnode(Root()));
if (fRootNode && fRootNode->InitCheck() == B_OK) {
status = new_vnode(fID, ToVnode(Root()), (void *)fRootNode);
status = publish_vnode(fID, ToVnode(Root()), (void *)fRootNode);
if (status == B_OK) {
// try to get indices root dir