This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
from c37a270cda arch/stm32f0l0g0/stm32_tim.c: fix compilation when TIM6/TIM7 is missing new 3fe1d1a54d fs/pseudofs: Add missing bumping of inode refcount new 1e787ea280 nuttx/fs: Reorganize the code for close, dup, et. al. new 3bc3092e6a fs/fs: remove unnecessary FS_REFCOUNT config new 70fc5c3e77 fs/dup: remove unnecessary backup about fdcheck_tag and fdsan_tag new 9ca5c1d9c6 fs/file: unify prefix f_ for member locked new a12d21e830 fs/file: unify prefix about file_xxx api, like file_open, file_ioctl new b8e30b54ec fs/vfs: Separate file descriptors from file descriptions new 7927c8d105 tools/pynuttx: update fs.py base on new structure fd and file The 8 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: audio/audio.c | 4 +- .../olimex-stm32-p407/configs/kmodule/defconfig | 1 - .../stm32/stm3240g-eval/configs/knxwm/defconfig | 1 - crypto/cryptodev.c | 3 +- drivers/misc/optee.c | 7 +- drivers/net/telnet.c | 2 +- fs/Kconfig | 13 - fs/aio/aioc_contain.c | 6 +- fs/inode/fs_files.c | 836 +++++++++------------ fs/inode/inode.h | 8 +- fs/mmap/Kconfig | 1 - fs/mmap/fs_mmap.c | 4 +- fs/mmap/fs_rammap.c | 4 +- fs/mqueue/mq_open.c | 24 +- fs/notify/inotify.c | 18 +- fs/procfs/fs_procfsproc.c | 12 +- fs/shm/shm_open.c | 18 +- fs/socket/accept.c | 4 +- fs/socket/socket.c | 6 +- fs/vfs/CMakeLists.txt | 1 + fs/vfs/Make.defs | 4 +- fs/vfs/fs_close.c | 90 ++- fs/vfs/fs_dup.c | 54 +- fs/vfs/fs_dup2.c | 88 +-- fs/{inode/fs_inodeaddref.c => vfs/fs_dup3.c} | 29 +- fs/vfs/fs_epoll.c | 30 +- fs/vfs/fs_eventfd.c | 4 +- fs/vfs/fs_fchstat.c | 6 +- fs/vfs/fs_fcntl.c | 161 ++-- fs/vfs/fs_fstat.c | 6 +- fs/vfs/fs_fstatfs.c | 6 +- fs/vfs/fs_fsync.c | 4 +- fs/vfs/fs_ioctl.c | 123 +-- fs/vfs/fs_lock.c | 6 +- fs/vfs/fs_lseek.c | 4 +- fs/vfs/fs_open.c | 45 +- fs/vfs/fs_poll.c | 8 +- fs/vfs/fs_pread.c | 4 +- fs/vfs/fs_pseudofile.c | 1 + fs/vfs/fs_pwrite.c | 4 +- fs/vfs/fs_read.c | 6 +- fs/vfs/fs_sendfile.c | 10 +- fs/vfs/fs_signalfd.c | 10 +- fs/vfs/fs_syncfs.c | 4 +- fs/vfs/fs_timerfd.c | 18 +- fs/vfs/fs_truncate.c | 4 +- fs/vfs/fs_write.c | 6 +- include/nuttx/fs/fs.h | 309 +++++--- include/nuttx/fs/ioctl.h | 10 + include/nuttx/sched.h | 16 +- net/local/local_sendmsg.c | 6 +- net/socket/bind.c | 2 +- net/socket/connect.c | 2 +- net/socket/getpeername.c | 2 +- net/socket/getsockname.c | 2 +- net/socket/getsockopt.c | 2 +- net/socket/listen.c | 2 +- net/socket/recvfrom.c | 2 +- net/socket/recvmsg.c | 2 +- net/socket/sendmsg.c | 2 +- net/socket/sendto.c | 2 +- net/socket/setsockopt.c | 2 +- net/socket/shutdown.c | 2 +- sched/group/group_create.c | 2 +- sched/group/group_leave.c | 2 +- sched/group/group_setuptaskfiles.c | 4 +- sched/misc/assert.c | 8 +- sched/mqueue/mq_getattr.c | 4 +- sched/mqueue/mq_notify.c | 6 +- sched/mqueue/mq_receive.c | 8 +- sched/mqueue/mq_send.c | 8 +- sched/mqueue/mq_setattr.c | 4 +- sched/sched/sched_getfiles.c | 20 +- sched/task/task_spawnparms.c | 15 +- tools/pynuttx/nxgdb/fs.py | 33 +- tools/pynuttx/nxgdb/protocols/fs.py | 21 +- tools/pynuttx/nxgdb/protocols/thread.py | 4 +- 77 files changed, 1112 insertions(+), 1100 deletions(-) copy fs/{inode/fs_inodeaddref.c => vfs/fs_dup3.c} (78%)