提交 023ccde1 编写于 作者: J Jens Axboe

block: fix warning on compile with CONFIG_BLOCK

struct io_context was not defined, just add an empty forward decl.
Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
上级 d6d48196
......@@ -825,6 +825,7 @@ static inline void exit_io_context(void)
{
}
struct io_context;
static inline int put_io_context(struct io_context *ioc)
{
return 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册