mirror of
https://github.com/RGBCube/serenity
synced 2025-06-30 10:32:17 +00:00
Ext2FS: Stop using FS::DirectoryEntry
We were only using this as a temporary helper object while constructing directories. Create a simpler Ext2FSDirectoryEntry instead for this.
This commit is contained in:
parent
108263314a
commit
6ad2d31952
2 changed files with 19 additions and 12 deletions
|
@ -41,6 +41,7 @@ struct ext2_super_block;
|
|||
namespace Kernel {
|
||||
|
||||
class Ext2FS;
|
||||
struct Ext2FSDirectoryEntry;
|
||||
|
||||
class Ext2FSInode final : public Inode {
|
||||
friend class Ext2FS;
|
||||
|
@ -76,7 +77,7 @@ private:
|
|||
virtual KResult chown(uid_t, gid_t) override;
|
||||
virtual KResult truncate(u64) override;
|
||||
|
||||
bool write_directory(const Vector<FS::DirectoryEntry>&);
|
||||
bool write_directory(const Vector<Ext2FSDirectoryEntry>&);
|
||||
void populate_lookup_cache() const;
|
||||
KResult resize(u64);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue