nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [incubator-nuttx] Oxore opened a new pull request #918: tmpfs: Fix tmpfs_foreach recursively removing files in directories
Date Thu, 30 Apr 2020 06:43:28 GMT

Oxore opened a new pull request #918:

   Fixes #912
   ## Summary
   This PR fixes `tmpfs_foreach` unconditionally and recursively removing files in directories
of any mounted TMPFS. It is ok when it called from `tmpfs_unbind` op, but it shouldn't delete
any files if called from `tmpfs_statfs`.
   ## Impact
   - TMPFS usage statistics analysis (statfs) operation.
   - TMPFS umount (unbind) operation.
   ## Testing
   Tested `tmpfs_statfs` case only, which is called when running `df` command or reading `/proc/fs/usage`.
It seems like values in `/proc/fs/usage` are increasing now if more files created and all
files remains unchanged in any directory of TMPFS.

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.

For queries about this service, please contact Infrastructure at:

View raw message