mirror of
https://github.com/apache/nuttx.git
synced 2026-10-23 14:58:47 +00:00
fs: Remove the inernal st_count field from struct stat
it's more simple to reuse the resolve argument as the recursive count Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: I826b2fef3af8b12aae230e4766ab09f8de988f8a
This commit is contained in:
parent
8692c316ff
commit
49a4cfd8aa
3 changed files with 22 additions and 33 deletions
|
|
@ -141,14 +141,6 @@ struct stat
|
|||
struct timespec st_ctim; /* Time of last status change */
|
||||
blksize_t st_blksize; /* Block size used for filesystem I/O */
|
||||
blkcnt_t st_blocks; /* Number of blocks allocated */
|
||||
|
||||
/* Internal fields. These are part this specific implementation and
|
||||
* should not referenced by application code for portability reasons.
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_PSEUDOFS_SOFTLINKS
|
||||
uint8_t st_count; /* Used internally to limit traversal of links */
|
||||
#endif
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue