block: fix warning on compile with CONFIG_BLOCK

struct io_context was not defined, just add an empty forward decl.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
Jens Axboe 2008-01-29 14:08:06 +01:00
parent d6d4819696
commit 023ccde109
1 changed files with 1 additions and 0 deletions

View File

@ -825,6 +825,7 @@ static inline void exit_io_context(void)
{ {
} }
struct io_context;
static inline int put_io_context(struct io_context *ioc) static inline int put_io_context(struct io_context *ioc)
{ {
return 1; return 1;