Fixed directory unlocking in tmpfs_opendir
This commit is contained in:
parent
9bc65f4686
commit
9145fe0c10
@ -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