casaroli commented on code in PR #21682:
URL: https://github.com/apache/nuttx/pull/21682#discussion_r4536677235


##########
fs/procfs/fs_procfs.c:
##########
@@ -412,13 +413,29 @@ static void procfs_sort_pid(FAR struct procfs_level0_s 
*level0)
 }
 #endif
 
+/****************************************************************************
+ * Name: procfs_ino
+ *
+ * Description:
+ *   Return the file serial number of a path: the hash of the path, which
+ *   is not 0.  stat(), fstat() and readdir() give the same number.
+ *
+ ****************************************************************************/
+
+static ino_t procfs_ino(uint32_t hash, FAR const char *str)
+{
+  hash = inode_hash(hash, str);

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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to