1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 17:58:12 +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

@ -32,7 +32,7 @@ KResultOr<FlatPtr> Process::sys$mount(Userspace<const Syscall::SC_mount_params*>
auto fs_type_string = TRY(try_copy_kstring_from_user(params.fs_type));
auto fs_type = fs_type_string->view();
auto description_or_error = fds().file_description(source_fd);
auto description_or_error = fds().open_file_description(source_fd);
if (!description_or_error.is_error())
dbgln("mount {}: source fd {} @ {}", fs_type, source_fd, target);
else