aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2008-01-29 08:08:06 -0500
committerJens Axboe <jens.axboe@oracle.com>2008-01-29 15:55:14 -0500
commit023ccde109b995bb99862bf9c87efd006b1d1885 (patch)
treec1a889bde7f895441bbec792f94641d4716b2887 /include/linux
parentd6d48196961729b79509dcaeeb0f0fb4fbb47d29 (diff)
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 71e7a847dffc..e18d4192f6e8 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -825,6 +825,7 @@ static inline void exit_io_context(void)
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;