Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 023ccde1 authored by Jens Axboe's avatar Jens Axboe
Browse files

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -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;