Repair a verified behavior in apache/nuttx.
Repair a verified behavior in apache/nuttx.: a task in OriGent-RL-Data (Harbor dataset). fs/vfs: close-time POSIX record-lock release is unsynchronized and crashes or corrupts lock state under concurrent use
The task
fs/vfs: close-time POSIX record-lock release is unsynchronized and crashes or corrupts lock state under concurrent use
Part of henryen/OriGent-RL-Data.