Kernel: Use KResult in unlink() and rmdir().

This commit is contained in:
Andreas Kling 2019-02-27 14:11:25 +01:00
parent ce53b6fd0f
commit 5b27f11b97
Notes: sideshowbarker 2024-07-19 15:36:48 +09:00
11 changed files with 54 additions and 92 deletions

View file

@ -290,12 +290,10 @@ bool SynthFSInode::add_child(InodeIdentifier child_id, const String& name, byte
return false;
}
bool SynthFSInode::remove_child(const String& name, int& error)
KResult SynthFSInode::remove_child(const String& name)
{
(void) name;
(void) error;
(void)name;
ASSERT_NOT_REACHED();
return false;
}
SynthFSInodeCustomData::~SynthFSInodeCustomData()