Kernel: Rework RamInode API
RamInode is now a general RamInode with no data. RamFileInode is now a inode for regular files. This is much cleaner and more intuitive since there is no reason for most non-regular inodes to hold data Vector.
This commit is contained in:
@@ -5,7 +5,7 @@ namespace Kernel
|
||||
{
|
||||
|
||||
Device::Device(mode_t mode, uid_t uid, gid_t gid)
|
||||
: RamInode(DevFileSystem::get(), mode, uid, gid)
|
||||
: RamInode(DevFileSystem::get(), FullInodeInfo(DevFileSystem::get(), mode, uid, gid))
|
||||
{ }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user