Kernel: Rename FileDescription => OpenFileDescription

Dr. POSIX really calls these "open file description", not just
"file description", so let's call them exactly that. :^)
This commit is contained in:
Andreas Kling 2021-09-07 13:39:11 +02:00
commit 4a9c18afb9
Notes: sideshowbarker 2024-07-18 04:31:50 +09:00
135 changed files with 680 additions and 680 deletions

View file

@ -7,8 +7,8 @@
#include <Kernel/API/InodeWatcherFlags.h>
#include <Kernel/FileSystem/Custody.h>
#include <Kernel/FileSystem/FileDescription.h>
#include <Kernel/FileSystem/InodeWatcher.h>
#include <Kernel/FileSystem/OpenFileDescription.h>
#include <Kernel/Process.h>
namespace Kernel {
@ -20,7 +20,7 @@ KResultOr<FlatPtr> Process::sys$create_inode_watcher(u32 flags)
auto fd_allocation = TRY(m_fds.allocate());
auto watcher = TRY(InodeWatcher::try_create());
auto description = TRY(FileDescription::try_create(move(watcher)));
auto description = TRY(OpenFileDescription::try_create(move(watcher)));
description->set_readable(true);
if (flags & static_cast<unsigned>(InodeWatcherFlags::Nonblock))