mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:28:11 +00:00
Kernel: Make BlockBasedFS::BlockIndex a distinct integer type
This commit is contained in:
parent
900865975a
commit
489317e573
4 changed files with 72 additions and 70 deletions
|
@ -87,7 +87,7 @@ private:
|
|||
const Ext2FS& fs() const;
|
||||
Ext2FSInode(Ext2FS&, InodeIndex);
|
||||
|
||||
mutable Vector<unsigned> m_block_list;
|
||||
mutable Vector<BlockBasedFS::BlockIndex> m_block_list;
|
||||
mutable HashMap<String, InodeIndex> m_lookup_cache;
|
||||
ext2_inode m_raw_inode;
|
||||
};
|
||||
|
@ -113,7 +113,6 @@ public:
|
|||
virtual u8 internal_file_type_to_directory_entry_type(const DirectoryEntryView& entry) const override;
|
||||
|
||||
private:
|
||||
typedef unsigned BlockIndex;
|
||||
typedef unsigned GroupIndex;
|
||||
explicit Ext2FS(FileDescription&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue