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

Kinsey Moore (@opticron) gitlab at rtems.org
Sun Jul 27 02:26:27 UTC 2025



Kinsey Moore created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/635

Project:Branches: opticron/rtems:br6-close-iop-ref-held to rtems/rtos/rtems:6
Author:   Kinsey Moore
Assignee: Kinsey Moore



## 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 error paths.

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

Fixes #5201
Closes #5311


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

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/635
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/20250727/642b4607/attachment-0001.htm>


More information about the bugs mailing list