diff --git a/fs/mount/fs_umount2.c b/fs/mount/fs_umount2.c index 9796a737e8d..5a4330aa5e8 100644 --- a/fs/mount/fs_umount2.c +++ b/fs/mount/fs_umount2.c @@ -146,6 +146,7 @@ int nx_umount2(FAR const char *target, unsigned int flags) DEBUGASSERT(mountpt_inode->i_crefs > 0); mountpt_inode->i_crefs--; + inode_semgive(); } else #endif