diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2013-03-02 15:25:54 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2013-03-07 14:27:28 +1100 |
commit | 68c2ee6e7b74926a926bed8a9a955276c7650623 (patch) | |
tree | 2ba05547bc857d5b62cbb352f2ded830e4100ee3 | |
parent | bdca715a3d45a73aac5474bd1fffeabd8ae3e798 (diff) |
block-aio-batch-completion-for-bios-kiocbs-fix-fix-fix
fix warnings
Cc: Kent Overstreet <koverstreet@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r-- | include/linux/aio.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/aio.h b/include/linux/aio.h index c8f0b61e87ca..cde3a5d448e1 100644 --- a/include/linux/aio.h +++ b/include/linux/aio.h @@ -105,7 +105,10 @@ static inline void aio_put_req(struct kiocb *iocb) { } static inline void batch_complete_aio(struct batch_complete *batch) { } static inline void aio_complete_batch(struct kiocb *iocb, long res, long res2, - struct batch_complete *batch) { return 0; } + struct batch_complete *batch) +{ + return; +} struct mm_struct; static inline void exit_aio(struct mm_struct *mm) { } static inline long do_io_submit(aio_context_t ctx_id, long nr, |