You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "davids5 (via GitHub)" <gi...@apache.org> on 2023/07/28 06:50:22 UTC

[GitHub] [nuttx] davids5 commented on a diff in pull request #9929: fs/pseudo-file: support pseudo-file operation

davids5 commented on code in PR #9929:
URL: https://github.com/apache/nuttx/pull/9929#discussion_r1277176292


##########
include/nuttx/fs/fs.h:
##########
@@ -405,6 +405,7 @@ struct inode
   uint16_t          i_flags;    /* Flags for inode */
   union inode_ops_u u;          /* Inode operations */
   ino_t             i_ino;      /* Inode serial number */
+  size_t            i_size;     /* The size of per inode driver */

Review Comment:
   If CONFIG_PSEUDOFS_FILE is not set, is `i_size` needed?



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