mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
Fix some unbalanced sched_lock()/sched_unlock() pairs int the re-implemented VFS semaphore and message queue logic
This commit is contained in:
+2
-1
@@ -235,9 +235,10 @@ mqd_t mq_open(const char *mq_name, int oflags, ...)
|
||||
inode->u.i_mqueue = msgq;
|
||||
msgq->inode = inode;
|
||||
}
|
||||
|
||||
sched_unlock();
|
||||
}
|
||||
|
||||
sched_unlock();
|
||||
return mqdes;
|
||||
|
||||
errout_with_msgq:
|
||||
|
||||
Reference in New Issue
Block a user