diff options
Diffstat (limited to 'Kernel/FileSystem/Inode.h')
-rw-r--r-- | Kernel/FileSystem/Inode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/FileSystem/Inode.h b/Kernel/FileSystem/Inode.h index 44f3b3666a..b2c56a5a20 100644 --- a/Kernel/FileSystem/Inode.h +++ b/Kernel/FileSystem/Inode.h @@ -43,8 +43,8 @@ public: virtual bool traverse_as_directory(Function<bool(const FS::DirectoryEntry&)>) const = 0; virtual InodeIdentifier lookup(StringView name) = 0; virtual ssize_t write_bytes(off_t, ssize_t, const byte* data, FileDescription*) = 0; - virtual KResult add_child(InodeIdentifier child_id, const String& name, mode_t) = 0; - virtual KResult remove_child(const String& name) = 0; + virtual KResult add_child(InodeIdentifier child_id, const StringView& name, mode_t) = 0; + virtual KResult remove_child(const StringView& name) = 0; virtual size_t directory_entry_count() const = 0; virtual KResult chmod(mode_t) = 0; virtual KResult chown(uid_t, gid_t) = 0; |