mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:27:43 +00:00
Kernel: Rename file_description(fd) => open_file_description(fd)
To go with the class rename.
This commit is contained in:
parent
4a9c18afb9
commit
213b8868af
24 changed files with 42 additions and 42 deletions
|
@ -13,7 +13,7 @@ KResultOr<FlatPtr> Process::sys$lseek(int fd, Userspace<off_t*> userspace_offset
|
|||
{
|
||||
VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this)
|
||||
REQUIRE_PROMISE(stdio);
|
||||
auto description = TRY(fds().file_description(fd));
|
||||
auto description = TRY(fds().open_file_description(fd));
|
||||
off_t offset;
|
||||
TRY(copy_from_user(&offset, userspace_offset));
|
||||
auto seek_result = TRY(description->seek(offset, whence));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue