mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
Merged in hardlulz/modem-3.0-nuttx/fix-tmpfs-opendir (pull request #495)
Fixed directory unlocking in tmpfs_opendir Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
@@ -1849,6 +1849,8 @@ static int tmpfs_opendir(FAR struct inode *mountpt, FAR const char *relpath,
|
||||
{
|
||||
dir->u.tmpfs.tf_tdo = tdo;
|
||||
dir->u.tmpfs.tf_index = 0;
|
||||
|
||||
tmpfs_unlock_directory(tdo);
|
||||
}
|
||||
|
||||
/* Release the lock on the file system and return the result */
|
||||
|
||||
Reference in New Issue
Block a user