mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
Fix inode lock at umount2
This commit is contained in:
@@ -146,6 +146,7 @@ int nx_umount2(FAR const char *target, unsigned int flags)
|
|||||||
|
|
||||||
DEBUGASSERT(mountpt_inode->i_crefs > 0);
|
DEBUGASSERT(mountpt_inode->i_crefs > 0);
|
||||||
mountpt_inode->i_crefs--;
|
mountpt_inode->i_crefs--;
|
||||||
|
inode_semgive();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user