You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/03/30 17:42:41 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5892: rpmsgfs related update

xiaoxiang781216 commented on a change in pull request #5892:
URL: https://github.com/apache/incubator-nuttx/pull/5892#discussion_r838806490



##########
File path: fs/rpmsgfs/rpmsgfs.c
##########
@@ -1101,6 +1129,7 @@ static int rpmsgfs_bind(FAR struct inode *blkdriver, FAR const void *data,
    */
 
   fs->fs_head = NULL;
+  fs->timeout = INT32_MAX;

Review comment:
       INT32_MAX->INT_MAX

##########
File path: fs/rpmsgfs/rpmsgfs.c
##########
@@ -265,7 +265,7 @@ static void rpmsgfs_mkpath(FAR struct rpmsgfs_mountpt_s *fs,
       struct stat buf;
       int ret;
 
-      ret = rpmsgfs_client_stat(fs->handle, path, &buf);
+      ret = rpmsgfs_client_stat(fs->handle, fs->fs_root, &buf);

Review comment:
       merge to previous patch

##########
File path: fs/rpmsgfs/rpmsgfs.c
##########
@@ -1103,7 +1103,6 @@ static int rpmsgfs_bind(FAR struct inode *blkdriver, FAR const void *data,
           fs->timeout = atoi(&ptr[8]);
         }
 
-

Review comment:
       move to previous patch




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