You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/07/09 16:02:04 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #4097: fs: Remove the inernal st_count field from struct stat

xiaoxiang781216 commented on a change in pull request #4097:
URL: https://github.com/apache/incubator-nuttx/pull/4097#discussion_r667056969



##########
File path: fs/vfs/fs_stat.c
##########
@@ -68,6 +55,15 @@ static int stat_recursive(FAR const char *path,
 /****************************************************************************
  * Name: stat_recursive
  *
+ * Input Parameters:
+ *   path    - The inode of interest
+ *   buf     - The caller provide location in which to return information
+ *             about the inode.
+ *   resolve - Whether to resolve the symbolic link:
+ *               0: Don't resolve the symbolic line
+ *               1: Resolve the symbolic link
+ *             >=2: The recurisve count in the resolving process

Review comment:
       Done.

##########
File path: fs/inode/inode.h
##########
@@ -231,7 +231,10 @@ int inode_find(FAR struct inode_search_s *desc);
  *   inode   - The inode of interest
  *   buf     - The caller provide location in which to return information
  *             about the inode.
- *   resolve - Whether to resolve the symbolic link
+ *   resolve - Whether to resolve the symbolic link:
+ *               0: Don't resolve the symbolic line
+ *               1: Resolve the symbolic link
+ *             >=2: The recurisve count in the resolving process

Review comment:
       Done.




-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org