diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2013-02-07 12:32:14 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2013-02-14 15:33:45 +1100 |
commit | ace7321c10e5bf65d69bca3438e1c1ebfd81a574 (patch) | |
tree | d87dd276f1d5f058512ffa848f66b1620ad924af /include | |
parent | 0250dc3f563cbdab842f6b2825d1948f4bb429ff (diff) |
block-aio-batch-completion-for-bios-kiocbs-fix-fix
fs/aio.c needs bio.h, move bio_endio_batch() declaration somewhere rational
Cc: Kent Overstreet <koverstreet@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/bio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h index b4e9df5fffe9..28205a054fd4 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h @@ -241,8 +241,6 @@ static inline struct bio *bio_clone_kmalloc(struct bio *bio, gfp_t gfp_mask) } -void bio_endio_batch(struct bio *bio, int error, struct batch_complete *batch); - /** * bio_endio - end I/O on a bio * @bio: bio @@ -552,6 +550,8 @@ struct batch_complete { struct rb_root kiocb; }; +void bio_endio_batch(struct bio *bio, int error, struct batch_complete *batch); + static inline void batch_complete_init(struct batch_complete *batch) { bio_list_init(&batch->bio); |