mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
Ext2FS: Fail with EMFILE if we would overflow i_links_count
This commit is contained in:
@@ -151,14 +151,14 @@ int Inode::set_mtime(time_t)
|
||||
return -ENOTIMPL;
|
||||
}
|
||||
|
||||
int Inode::increment_link_count()
|
||||
KResult Inode::increment_link_count()
|
||||
{
|
||||
return -ENOTIMPL;
|
||||
return KResult(-ENOTIMPL);
|
||||
}
|
||||
|
||||
int Inode::decrement_link_count()
|
||||
KResult Inode::decrement_link_count()
|
||||
{
|
||||
return -ENOTIMPL;
|
||||
return KResult(-ENOTIMPL);
|
||||
}
|
||||
|
||||
void Inode::set_vmobject(VMObject& vmobject)
|
||||
|
||||
Reference in New Issue
Block a user