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 2020/03/29 20:46:18 UTC
[GitHub] [incubator-nuttx] patacongo commented on a change in pull request
#647: Check return from nxsem_wait_initialize()
patacongo commented on a change in pull request #647: Check return from nxsem_wait_initialize()
URL: https://github.com/apache/incubator-nuttx/pull/647#discussion_r399851566
##########
File path: fs/spiffs/src/spiffs_vfs.c
##########
@@ -385,7 +392,11 @@ static int spiffs_open(FAR struct file *filep, FAR const char *relpath,
/* Get exclusive access to the file system */
- spiffs_lock_volume(fs);
+ ret = spiffs_lock_volume(fs);
+ if (ret < 0)
+ {
+ return ret;
Review comment:
Should be fixed.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services