This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 39caf09 Fix inode lock at umount2
39caf09 is described below
commit 39caf09df05c454f59d1dda0395ceff63c216f97
Author: AVykhovanets <[email protected]>
AuthorDate: Fri Dec 25 22:41:40 2020 +0300
Fix inode lock at umount2
---
fs/mount/fs_umount2.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/mount/fs_umount2.c b/fs/mount/fs_umount2.c
index 9796a73..5a4330a 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