Fix inode lock at umount2

This commit is contained in:
AVykhovanets 2020-12-25 22:41:40 +03:00 committed by Xiang Xiao
parent f508d80c3d
commit 39caf09df0

View File

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