]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Fix build error due to bio_endio_batch
authorMinchan Kim <minchan@kernel.org>
Wed, 20 Feb 2013 02:16:56 +0000 (13:16 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:54:11 +0000 (16:54 +1100)
This patch fixes build error of recent mmotm.

Signed-off-by: Minchan Kim <minchan@kernel.org>
Cc: Kent Overstreet <koverstreet@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/bio.h

index ad62bdbdc8665bf0a167e0d2603e6fe47a53622c..5f549176745cba5aa4920d5d71a6a198e651d496 100644 (file)
@@ -69,6 +69,8 @@
 #define bio_segments(bio)      ((bio)->bi_vcnt - (bio)->bi_idx)
 #define bio_sectors(bio)       ((bio)->bi_size >> 9)
 
+void bio_endio_batch(struct bio *bio, int error, struct batch_complete *batch);
+
 static inline unsigned int bio_cur_bytes(struct bio *bio)
 {
        if (bio->bi_vcnt)
@@ -542,8 +544,6 @@ static inline struct bio *bio_list_get(struct bio_list *bl)
        return bio;
 }
 
-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);