summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2008-01-29 14:08:06 +0100
committerJens Axboe <jens.axboe@oracle.com>2008-01-29 21:55:14 +0100
commit023ccde109b995bb99862bf9c87efd006b1d1885 (patch)
treec1a889bde7f895441bbec792f94641d4716b2887 /include/linux
parentd6d48196961729b79509dcaeeb0f0fb4fbb47d29 (diff)
downloadop-kernel-dev-023ccde109b995bb99862bf9c87efd006b1d1885.zip
op-kernel-dev-023ccde109b995bb99862bf9c87efd006b1d1885.tar.gz
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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/blkdev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 71e7a84..e18d419 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;
OpenPOWER on IntegriCloud