Abhishekmishra2808 commented on code in PR #19165:
URL: https://github.com/apache/nuttx/pull/19165#discussion_r3446749527
##########
fs/tmpfs/fs_tmpfs.c:
##########
@@ -555,12 +561,176 @@ static int tmpfs_add_dirent(FAR struct tmpfs_directory_s
*tdo,
return OK;
}
+#if defined(CONFIG_FS_PERMISSION)
Review Comment:
Done
##########
fs/tmpfs/fs_tmpfs.c:
##########
@@ -2853,6 +3105,47 @@ static int tmpfs_stat(FAR struct inode *mountpt, FAR
const char *relpath,
return ret;
}
+/****************************************************************************
+ * Name: tmpfs_chstat
+ ****************************************************************************/
+
+static int tmpfs_chstat(FAR struct inode *mountpt, FAR const char *relpath,
+ FAR const struct stat *buf, int flags)
+{
+ DEBUGASSERT(mountpt != NULL && relpath != NULL && buf != NULL);
+
+#ifndef CONFIG_FS_PERMISSION
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]