mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02:00
Kernel: Make BlockBasedFS::BlockIndex a distinct integer type
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 22:24:35 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/489317e5734
@@ -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&);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user