Repair a verified behavior in apache/nuttx.
Repair a verified behavior in apache/nuttx.: a task in OriGent-RL-Data (Harbor dataset). Per-file reference count f refs is not SMP-safe: concurrent file operations on one shared open descriptor corrupt the count.
The task
Per-file reference count f_refs is not SMP-safe: concurrent file operations on one shared open descriptor corrupt the count.
Part of henryen/OriGent-RL-Data.