Ouss4 commented on a change in pull request #2629:
URL: https://github.com/apache/incubator-nuttx/pull/2629#discussion_r550360535



##########
File path: fs/vfs/fs_unlink.c
##########
@@ -191,11 +191,14 @@ int nx_unlink(FAR const char *pathname)
   RELEASE_SEARCH(&desc);
   return OK;
 
+#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS
 errout_with_sem:
   inode_semgive();
-
+#endif
+#if !defined(CONFIG_DISABLE_MOUNTPOINT) || !defined(CONFIG_DISABLE_MOUNTPOINT)

Review comment:
       ```suggestion
   #if !defined(CONFIG_DISABLE_MOUNTPOINT) || 
!defined(CONFIG_DISABLE_PSEUDOFS_OPERATIONS)
   ```
   




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to