mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 07:55:07 +00:00
Kernel: Use KResult in link().
This commit is contained in:
parent
5b27f11b97
commit
60d0a48be5
10 changed files with 41 additions and 54 deletions
|
@ -280,14 +280,12 @@ ssize_t SynthFSInode::write_bytes(off_t offset, ssize_t size, const byte* buffer
|
|||
return 0;
|
||||
}
|
||||
|
||||
bool SynthFSInode::add_child(InodeIdentifier child_id, const String& name, byte file_type, int& error)
|
||||
KResult SynthFSInode::add_child(InodeIdentifier child_id, const String& name, byte file_type)
|
||||
{
|
||||
(void) child_id;
|
||||
(void) name;
|
||||
(void) file_type;
|
||||
(void) error;
|
||||
(void)child_id;
|
||||
(void)name;
|
||||
(void)file_type;
|
||||
ASSERT_NOT_REACHED();
|
||||
return false;
|
||||
}
|
||||
|
||||
KResult SynthFSInode::remove_child(const String& name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue