Ugh, apparently I forgot to implement HasVNodeCapability(). Now we're actually

saving the trips to userland for hooks that aren't implemented there.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29618 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2009-03-20 01:18:32 +00:00
parent 08edcdfb61
commit 02442071c3
2 changed files with 8 additions and 8 deletions
@@ -281,6 +281,14 @@ private:
};
// HasVNodeCapability
inline bool
Volume::HasVNodeCapability(VNode* vnode, int capability) const
{
return vnode->ops->capabilities.Get(capability);
}
// constructor
Volume::Volume(FileSystem* fileSystem, fs_volume* fsVolume)
:
@@ -355,12 +355,4 @@ Volume::GetRootID() const
}
inline bool
Volume::HasVNodeCapability(VNode* vnode, int capability) const
{
// TODO: Implement for real!
return true;
}
#endif // USERLAND_FS_VOLUME_H