mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 03:37:53 +00:00
Ext2FS: Inode resizing should fail with ENOSPC if we lack blocks
If there are not enough free blocks in the filesystem to accomodate growing an Inode, we should fail with ENOSPC before even starting to allocate blocks.
This commit is contained in:
@@ -47,7 +47,7 @@ private:
|
||||
|
||||
bool write_directory(const Vector<FS::DirectoryEntry>&);
|
||||
void populate_lookup_cache() const;
|
||||
bool resize(u64);
|
||||
KResult resize(u64);
|
||||
|
||||
Ext2FS& fs();
|
||||
const Ext2FS& fs() const;
|
||||
|
||||
Reference in New Issue
Block a user