mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
Ext2FS: Fail with EMFILE if we would overflow i_links_count
This commit is contained in:
parent
88ea152b24
commit
cb97ef5589
Notes:
sideshowbarker
2024-07-19 09:32:13 +09:00
Author: https://github.com/awesomekling
Commit: cb97ef5589
4 changed files with 22 additions and 16 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue