mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 03:09:08 +00:00
Kernel: Make Inode::create_child() take the name as a StringView
No sense in forcing callers to construct a String. One more small step towards not using String in the kernel.
This commit is contained in:
@@ -941,7 +941,7 @@ RefPtr<Inode> Plan9FSInode::lookup(StringView name)
|
||||
return Plan9FSInode::create(fs(), newfid);
|
||||
}
|
||||
|
||||
KResultOr<NonnullRefPtr<Inode>> Plan9FSInode::create_child(const String&, mode_t, dev_t, uid_t, gid_t)
|
||||
KResultOr<NonnullRefPtr<Inode>> Plan9FSInode::create_child(StringView, mode_t, dev_t, uid_t, gid_t)
|
||||
{
|
||||
// TODO
|
||||
return ENOTIMPL;
|
||||
|
||||
Reference in New Issue
Block a user