summaryrefslogtreecommitdiff
path: root/Source/Kernel/VFS/FSNode.proto.h
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-11-29 12:30:07 +0100
committerAlexis211 <alexis211@gmail.com>2009-11-29 12:30:07 +0100
commit74dea7d492d6d352bfacb147b1c08ad0cf0a8b29 (patch)
treef613c8395b75a68e51d69c24eb3acdb0816ad509 /Source/Kernel/VFS/FSNode.proto.h
parentd3e4ef59cbb45f02e07fe17fb7c58cba3c737900 (diff)
parenta913d4c2cb4daf10c0eac4d548fccb26b2a9f099 (diff)
downloadMelon-74dea7d492d6d352bfacb147b1c08ad0cf0a8b29.tar.gz
Melon-74dea7d492d6d352bfacb147b1c08ad0cf0a8b29.zip
Merge branch 'mountpoints' of github.com:Alexis211/Melon into mountpoints
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);