You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "Donny9 (via GitHub)" <gi...@apache.org> on 2024/09/08 15:21:49 UTC

[PR] fs/inode: add reference to protect filelist of group [nuttx]

Donny9 opened a new pull request, #13330:
URL: https://github.com/apache/nuttx/pull/13330

   ## Summary
   fs/inode: add reference to protect filelist of group
   
   Before this PR, when we perform a reboot command, the sync() function is called to synchronize all the file descriptors (fds) of tasks. 
   **However, if there are tasks exiting at this time, it can lead to the issue of file handles being used after they have been freed. Therefore, we need to add references (refs) to protect this list from being released.**
   
   ## Impact
   protect filelist.
   ## Testing
   Vela
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] group/filelist: add reference to protect filelist of group [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #13330:
URL: https://github.com/apache/nuttx/pull/13330


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org