xiaoxiang781216 commented on code in PR #17270:
URL: https://github.com/apache/nuttx/pull/17270#discussion_r2483753609
##########
fs/rpmsgfs/rpmsgfs.c:
##########
@@ -262,7 +262,7 @@ static void rpmsgfs_mkpath(FAR struct rpmsgfs_mountpt_s *fs,
int ret;
ret = rpmsgfs_client_stat(fs->handle, fs->fs_root, &buf);
- if (ret == 0)
+ if (ret <= 0)
Review Comment:
but we need consider the case that the server mayn't be ready yet.
--
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]