projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6d4819
)
block: fix warning on compile with CONFIG_BLOCK
author
Jens Axboe
<jens.axboe@oracle.com>
Tue, 29 Jan 2008 13:08:06 +0000
(14:08 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Tue, 29 Jan 2008 20:55:14 +0000
(21:55 +0100)
struct io_context was not defined, just add an empty forward decl.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
include/linux/blkdev.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/blkdev.h
b/include/linux/blkdev.h
index 71e7a847dffce22d7cedef1357df99d0cc5bbbbb..e18d4192f6e83992278f344ab7d4f7f885595dcd 100644
(file)
--- 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;