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:
commit
3647ace559
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user