Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=023ccde109b995bb99862bf9c87efd006b1d1885 Commit: 023ccde109b995bb99862bf9c87efd006b1d1885 Parent: d6d48196961729b79509dcaeeb0f0fb4fbb47d29 Author: Jens Axboe <[EMAIL PROTECTED]> AuthorDate: Tue Jan 29 14:08:06 2008 +0100 Committer: Jens Axboe <[EMAIL PROTECTED]> CommitDate: Tue Jan 29 21:55:14 2008 +0100
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 <[EMAIL PROTECTED]> --- 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; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html