michallenc commented on code in PR #13584:
URL: https://github.com/apache/nuttx/pull/13584#discussion_r1776752966
##########
fs/smartfs/smartfs_smart.c:
##########
@@ -217,6 +219,21 @@ static int smartfs_open(FAR struct file *filep, FAR const
char *relpath,
goto errout_with_lock;
}
+ /* Save the full path to smartfs_ofile_s stuctrue. This is needed
+ * to FIOC_FILEPATH ioctlc all support.
+ */
+
+ pathlen = strlen(relpath) + 1;
+ sf->path = kmm_malloc(pathlen);
Review Comment:
Both 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]