summaryrefslogtreecommitdiff
path: root/include/linux/bio.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2017-04-05 07:05:50 +0300
committerShaohua Li <shli@fb.com>2017-04-11 20:09:03 +0300
commit50512625da06c41517cb596f51b923ce15f401a4 (patch)
tree507e85af0f122105847e674c9589ec065ec34da9 /include/linux/bio.h
parentcb83efcfd26a28b76eef8815a41158c1896fc5ba (diff)
downloadlinux-50512625da06c41517cb596f51b923ce15f401a4.tar.xz
Revert "block: introduce bio_copy_data_partial"
This reverts commit 6f8802852f7e58a12177a86179803b9efaad98e2. bio_copy_data_partial() is no longer needed. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'include/linux/bio.h')
-rw-r--r--include/linux/bio.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h
index fafef6343d1b..7cf8a6c70a3f 100644
--- a/include/linux/bio.h
+++ b/include/linux/bio.h
@@ -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);