Forgot to add new files. Should have been part of r29572.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29575 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009, Ingo Weinhold, [email protected].
|
||||||
|
* Distributed under the terms of the MIT License.
|
||||||
|
*/
|
||||||
|
#ifndef USERLAND_FS_BEOS_KERNEL_EMU_H
|
||||||
|
#define USERLAND_FS_BEOS_KERNEL_EMU_H
|
||||||
|
|
||||||
|
#include "FSCapabilities.h"
|
||||||
|
|
||||||
|
|
||||||
|
// Implemented in BeOSKernelFileSystem. We can't use BeOSKernelFileSystem
|
||||||
|
// directly in beos_kernel_emu.cpp, since BeOS and Haiku headers would clash.
|
||||||
|
void get_beos_file_system_node_capabilities(FSVNodeCapabilities& capabilities);
|
||||||
|
|
||||||
|
|
||||||
|
#endif // USERLAND_FS_BEOS_KERNEL_EMU_H
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009, Ingo Weinhold, [email protected].
|
||||||
|
* Distributed under the terms of the MIT License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "HaikuKernelNode.h"
|
||||||
|
|
||||||
|
#include "HaikuKernelFileSystem.h"
|
||||||
|
|
||||||
|
|
||||||
|
HaikuKernelNode::~HaikuKernelNode()
|
||||||
|
{
|
||||||
|
if (capabilities != NULL) {
|
||||||
|
HaikuKernelFileSystem* fileSystem
|
||||||
|
= static_cast<HaikuKernelFileSystem*>(FileSystem::GetInstance());
|
||||||
|
fileSystem->PutNodeCapabilities(capabilities);
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user