Repair a verified behavior in apache/nuttx.
Repair a verified behavior in apache/nuttx.: a task in OriGent-RL-Data (Harbor dataset). The kernel-side sync() implementation in the NuttX inode/file management layer (fs/inode/fs files.c) visits every task in the system and flushes each open file in that task's file descriptor list: it takes a…
The task
The kernel-side sync() implementation in the NuttX inode/file management layer (fs/inode/fs_files.c) visits every task in the system and flushes each open file in that task's file descriptor list: it takes a reference on the file, invokes the file's flush path (file_fsync(), which for device files reaches the…
Part of henryen/OriGent-RL-Data.