严格代码检查,修复大量错误,以及diskio.c ioctl参数大小导致的卡死问题
This commit is contained in:
@@ -48,7 +48,6 @@ void sema_up(sema_t *obj)
|
||||
thread_t *th = thread_get_current();
|
||||
|
||||
ref_counter_inc(&obj->ref);
|
||||
again:
|
||||
status = spinlock_lock(&obj->lock);
|
||||
if (slist_is_empty(&obj->suspend_head))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user