From: Jens Axboe Date: Tue, 29 Jan 2008 13:08:06 +0000 (+0100) Subject: block: fix warning on compile with CONFIG_BLOCK X-Git-Tag: MMI-PSA29.97-13-9~37640 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=023ccde109b995bb99862bf9c87efd006b1d1885;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 --- diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 71e7a847dffc..e18d4192f6e8 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -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;