Commit 023ccde1 authored by Jens Axboe's avatar 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: default avatarJens Axboe <jens.axboe@oracle.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment