diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2008-01-29 08:08:06 -0500 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-01-29 15:55:14 -0500 |
commit | 023ccde109b995bb99862bf9c87efd006b1d1885 (patch) | |
tree | c1a889bde7f895441bbec792f94641d4716b2887 /include/linux/blkdev.h | |
parent | d6d48196961729b79509dcaeeb0f0fb4fbb47d29 (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/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 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 | ||
828 | struct io_context; | ||
828 | static inline int put_io_context(struct io_context *ioc) | 829 | static inline int put_io_context(struct io_context *ioc) |
829 | { | 830 | { |
830 | return 1; | 831 | return 1; |