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
825825 {
826826 }
827827
828+struct io_context;
828829 static inline int put_io_context(struct io_context *ioc)
829830 {
830831 return 1;