Skip to content

vfs: Document that open directories are counted#17659

Closed
chrysn wants to merge 1 commit intoRIOT-OS:masterfrom
chrysn-pull-requests:vfs-minor-wording
Closed

vfs: Document that open directories are counted#17659
chrysn wants to merge 1 commit intoRIOT-OS:masterfrom
chrysn-pull-requests:vfs-minor-wording

Conversation

@chrysn
Copy link
Copy Markdown
Member

@chrysn chrysn commented Feb 15, 2022

Contribution description

The addition is helpful because directories are visibly different from
open files (and generally are not treated like files).

Testing procedure

Look at produced documentation

The addition is helpful because directories are visibly different from
open files (and generally are not treated like files).
@chrysn chrysn added Area: doc Area: Documentation Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Feb 15, 2022
@github-actions github-actions bot added Area: sys Area: System and removed Area: doc Area: Documentation labels Feb 15, 2022
@chrysn chrysn added Area: doc Area: Documentation and removed Area: sys Area: System labels Feb 15, 2022
@chrysn
Copy link
Copy Markdown
Member Author

chrysn commented Feb 15, 2022

Closing because it can be treated more easily as bycatch of #17660

@chrysn chrysn closed this Feb 15, 2022
@chrysn chrysn deleted the vfs-minor-wording branch February 15, 2022 14:07
@benpicco
Copy link
Copy Markdown
Contributor

I'm trying to find where open_files is actually incremented, but in vfs.c it appears to be only decremented - what am I missing here?

@chrysn
Copy link
Copy Markdown
Member Author

chrysn commented Feb 15, 2022

There is only one add, in _find_mount -- which is finding the right FS, and immediately preventing it from being unmounted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: doc Area: Documentation CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Impact: minor The PR is small in size and might only require a quick look of a knowledgeable reviewer Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants