aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorKent Overstreet <kmo@daterainc.com>2013-08-07 17:32:45 -0400
committerKent Overstreet <kmo@daterainc.com>2013-11-24 01:33:56 -0500
commitee67891bf132612feb7b999ee1f3350b40867cb4 (patch)
treef76ea89886cd12b19dbdde2069bbfaa396e2e35e /fs
parent196d38bccfcfa32faed8c561868336fdfa0fe8e4 (diff)
block: Rename bio_split() -> bio_pair_split()
This is prep work for introducing a more general bio_split(). Signed-off-by: Kent Overstreet <kmo@daterainc.com> Cc: Jens Axboe <axboe@kernel.dk> Cc: NeilBrown <neilb@suse.de> Cc: Alasdair Kergon <agk@redhat.com> Cc: Lars Ellenberg <lars.ellenberg@linbit.com> Cc: Peter Osterlund <petero2@telia.com> Cc: Sage Weil <sage@inktank.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/bio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/bio.c b/fs/bio.c
index b0a16dbc71ef..a3e753f4d5a6 100644
--- a/fs/bio.c
+++ b/fs/bio.c
@@ -1827,7 +1827,7 @@ static void bio_pair_end_2(struct bio *bi, int err)
1827/* 1827/*
1828 * split a bio - only worry about a bio with a single page in its iovec 1828 * split a bio - only worry about a bio with a single page in its iovec
1829 */ 1829 */
1830struct bio_pair *bio_split(struct bio *bi, int first_sectors) 1830struct bio_pair *bio_pair_split(struct bio *bi, int first_sectors)
1831{ 1831{
1832 struct bio_pair *bp = mempool_alloc(bio_split_pool, GFP_NOIO); 1832 struct bio_pair *bp = mempool_alloc(bio_split_pool, GFP_NOIO);
1833 1833
@@ -1874,7 +1874,7 @@ struct bio_pair *bio_split(struct bio *bi, int first_sectors)
1874 1874
1875 return bp; 1875 return bp;
1876} 1876}
1877EXPORT_SYMBOL(bio_split); 1877EXPORT_SYMBOL(bio_pair_split);
1878 1878
1879/** 1879/**
1880 * bio_trim - trim a bio 1880 * bio_trim - trim a bio