提交 85b77136 创建 作者: Nickolai Zeldovich's avatar Nickolai Zeldovich

forgot to cv_wakeup

上级 0fcb8f0c
......@@ -148,6 +148,7 @@ bread(uint dev, uint sector, int writer)
acquire(&b->lock);
b->flags &= ~B_BUSY;
release(&b->lock);
cv_wakeup(&b->cv);
}
return b;
}
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论