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>
#include <linux/file.h>
#include <linux/mm.h>
#include <linux/mman.h>
+#include <linux/bio.h>
#include <linux/mmu_context.h>
#include <linux/percpu.h>
#include <linux/slab.h>
}
-void bio_endio_batch(struct bio *bio, int error, struct batch_complete *batch);
-
/**
* bio_endio - end I/O on a bio
* @bio: bio
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);