summaryrefslogtreecommitdiff
path: root/Source/Kernel/VFS/FSNode.proto.h
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-11-15 13:17:58 +0100
committerAlexis211 <alexis211@gmail.com>2009-11-15 13:17:58 +0100
commit21bfca4ad4b84768f05eb4fa2bc0ad7a76b6c536 (patch)
tree7e68b92e80aadec75b5263bd9058c8336d29b77b /Source/Kernel/VFS/FSNode.proto.h
parente48f1166ae7402f973ea4aab8e53c7612459048c (diff)
downloadMelon-21bfca4ad4b84768f05eb4fa2bc0ad7a76b6c536.tar.gz
Melon-21bfca4ad4b84768f05eb4fa2bc0ad7a76b6c536.zip
Mount points seem to work, mostly owing to dark magic.
Diffstat (limited to 'Source/Kernel/VFS/FSNode.proto.h')
-rw-r--r--Source/Kernel/VFS/FSNode.proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Kernel/VFS/FSNode.proto.h b/Source/Kernel/VFS/FSNode.proto.h
index 0aafc8a..a46c79d 100644
--- a/Source/Kernel/VFS/FSNode.proto.h
+++ b/Source/Kernel/VFS/FSNode.proto.h
@@ -44,12 +44,12 @@ class FSNode : public Ressource {
virtual bool used() { return false; } //True if file is read/written from/to
const String& getName() { return m_name; }
- u64int getLength() { return m_length; }
+ virtual u64int getLength() { return m_length; }
u32int getPermissions() { return m_permissions; }
u32int getUid() { return m_uid; }
u32int getGid() { return m_gid; }
FileSystem *getFS() { return m_fs; }
- FSNode* getParent() { return m_parent; }
+ virtual FSNode* getParent() { return m_parent; }
//Helper functions
bool readable(User* user = 0);