Rename FileDescripter to FileDesc

This commit is contained in:
Fabing Li
2024-05-08 20:01:11 +08:00
committed by Tate, Hongliang Tian
parent 5d28f29a11
commit c2d09675b3
50 changed files with 149 additions and 205 deletions

View File

@ -3,7 +3,7 @@
use super::{SyscallReturn, SYS_RENAMEAT};
use crate::{
fs::{
file_table::FileDescripter,
file_table::FileDesc,
fs_resolver::{FsPath, AT_FDCWD},
utils::InodeType,
},
@ -14,9 +14,9 @@ use crate::{
};
pub fn sys_renameat(
old_dirfd: FileDescripter,
old_dirfd: FileDesc,
old_pathname_addr: Vaddr,
new_dirfd: FileDescripter,
new_dirfd: FileDesc,
new_pathname_addr: Vaddr,
) -> Result<SyscallReturn> {
log_syscall_entry!(SYS_RENAMEAT);