forked from Imagelibrary/rtems
- 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