History

block: fix warning on compile with CONFIG_BLOCK

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

Jens Axboe committed 18 years ago

Commit 023ccde1 parent d6d48191 file · +1 −0Browse files

Showing the changes to include/linux/blkdev.h (1 of 1 file). Show all

Unified · Split

include/linux/blkdev.h+1−0
@@ -825,6 +825,7 @@ static inline void exit_io_context(void) · 824 unmodified lines
825{825{
826}826}
827 827
828struct io_context;
828static inline int put_io_context(struct io_context *ioc)829static inline int put_io_context(struct io_context *ioc)
829{830{
830 return 1;831 return 1;