xiaoxiang781216 commented on code in PR #15326:
URL: https://github.com/apache/nuttx/pull/15326#discussion_r1904273974


##########
fs/littlefs/lfs_vfs.c:
##########
@@ -1531,7 +1531,7 @@ static int littlefs_mkdir(FAR struct inode *mountpt, FAR 
const char *relpath,
 
   if (len > 0 && relpath[len - 1] == '/')
     {
-      path = lib_get_pathbuffer();
+      path = lib_get_tempbuffer(PATH_MAX);

Review Comment:
   @Zhangshoukui let's follow @yamt suggestion



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