diff options
author | Minchan Kim <minchan@kernel.org> | 2013-03-02 15:25:55 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2013-03-07 14:27:29 +1100 |
commit | 41aebf166045783596cbadf0be92a555e70145a0 (patch) | |
tree | dc75ee1331f7aabc49e14fe5ac2a007615e762ec | |
parent | dd3cfebdc7042f26efe59ca579a95f348cfe5685 (diff) |
Fix build error due to bio_endio_batch
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>
-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 ad62bdbdc866..5f549176745c 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h @@ -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); |