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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user