RTEMS | cpukit/libio: Support close with IOP references held (!516)

Chris Johns (@chris) gitlab at rtems.org
Tue Jun 17 00:26:32 UTC 2025



Chris Johns created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/516

Project:Branches: chris/rtems:5201-close-optional-on-ref-count to rtems/rtos/rtems:main
Author:   Chris Johns
Assignee: Chris Johns



## Summary

cpukit/libio: Support close with IOP references held

- Provide an option for a file system to support close wtih
  references held. This can happen in more complex file systems
  and file descriptor handling with more complete reference
  handling implementations where an fd can hold other fds and
  close can be call on any fd and succeed.

- Fix open IOP leaks in the erro paths.

- Provide better definition of the IOP flags to help clarify
  the code.

Fixes #5201


<!-- Default settings, if it is a dropdown it will set after submission -->

Closes #5201

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/516
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250617/c354ae5c/attachment-0001.htm>


More information about the bugs mailing list