1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 12:35:08 +00:00

Kernel: Rename file_description(fd) => open_file_description(fd)

To go with the class rename.
This commit is contained in:
Andreas Kling 2021-09-07 13:41:27 +02:00
parent 4a9c18afb9
commit 213b8868af
24 changed files with 42 additions and 42 deletions

View file

@ -79,7 +79,7 @@ KResultOr<NonnullRefPtr<Inode>> Process::lookup_stacks_directory(const ProcFS& p
KResultOr<size_t> Process::procfs_get_file_description_link(unsigned fd, KBufferBuilder& builder) const
{
auto file_description = TRY(m_fds.file_description(fd));
auto file_description = TRY(m_fds.open_file_description(fd));
auto data = file_description->absolute_path();
TRY(builder.append(data));
return data.length();