fs: Don't guard rename with CONFIG_DISABLE_MOUNTPOINT
since the pseudo root fs support rename too Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
4009cb1970
commit
a3a1883787
@ -235,6 +235,7 @@ SYSCALL_LOOKUP(ftruncate, 2)
|
||||
SYSCALL_LOOKUP(lseek, 3)
|
||||
SYSCALL_LOOKUP(mmap, 6)
|
||||
SYSCALL_LOOKUP(open, 3)
|
||||
SYSCALL_LOOKUP(rename, 2)
|
||||
SYSCALL_LOOKUP(stat, 2)
|
||||
SYSCALL_LOOKUP(lstat, 2)
|
||||
SYSCALL_LOOKUP(fstat, 2)
|
||||
@ -275,7 +276,6 @@ SYSCALL_LOOKUP(munmap, 2)
|
||||
#ifndef CONFIG_DISABLE_MOUNTPOINT
|
||||
SYSCALL_LOOKUP(mount, 5)
|
||||
SYSCALL_LOOKUP(mkdir, 2)
|
||||
SYSCALL_LOOKUP(rename, 2)
|
||||
SYSCALL_LOOKUP(rmdir, 1)
|
||||
SYSCALL_LOOKUP(umount2, 2)
|
||||
SYSCALL_LOOKUP(unlink, 1)
|
||||
|
@ -110,7 +110,7 @@
|
||||
"recv","sys/socket.h","defined(CONFIG_NET)","ssize_t","int","FAR void *","size_t","int"
|
||||
"recvfrom","sys/socket.h","defined(CONFIG_NET)","ssize_t","int","FAR void*","size_t","int","FAR struct sockaddr*","FAR socklen_t*"
|
||||
"recvmsg","sys/socket.h","defined(CONFIG_NET)","ssize_t","int","FAR struct msghdr *","int"
|
||||
"rename","stdio.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","FAR const char *","FAR const char *"
|
||||
"rename","stdio.h","","int","FAR const char *","FAR const char *"
|
||||
"rmdir","unistd.h","!defined(CONFIG_DISABLE_MOUNTPOINT)","int","FAR const char*"
|
||||
"rmmod","nuttx/module.h","defined(CONFIG_MODULE)","int","FAR void *"
|
||||
"sched_getaffinity","sched.h","defined(CONFIG_SMP)","int","pid_t","size_t","FAR cpu_set_t *"
|
||||
|
Can't render this file because it has a wrong number of fields in line 2.
|
Loading…
Reference in New Issue
Block a user