Revert "block: introduce bio_copy_data_partial"

This reverts commit 6f8802852f.
bio_copy_data_partial() is no longer needed.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
This commit is contained in:
NeilBrown
2017-04-05 14:05:50 +10:00
committed by Shaohua Li
parent cb83efcfd2
commit 50512625da
2 changed files with 13 additions and 49 deletions

View File

@@ -461,8 +461,6 @@ static inline void bio_flush_dcache_pages(struct bio *bi)
#endif
extern void bio_copy_data(struct bio *dst, struct bio *src);
extern void bio_copy_data_partial(struct bio *dst, struct bio *src,
int offset, int size);
extern int bio_alloc_pages(struct bio *bio, gfp_t gfp);
extern void bio_free_pages(struct bio *bio);