diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2008-01-29 13:08:06 (GMT) |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-01-29 20:55:14 (GMT) |
commit | 023ccde109b995bb99862bf9c87efd006b1d1885 (patch) | |
tree | c1a889bde7f895441bbec792f94641d4716b2887 /include/linux/blkdev.h | |
parent | d6d48196961729b79509dcaeeb0f0fb4fbb47d29 (diff) | |
download | linux-fsl-qoriq-023ccde109b995bb99862bf9c87efd006b1d1885.tar.xz |
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/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 1 |
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; |