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>
This commit is contained in:
4
fs/bio.c
4
fs/bio.c
@@ -1827,7 +1827,7 @@ static void bio_pair_end_2(struct bio *bi, int err)
|
||||
/*
|
||||
* split a bio - only worry about a bio with a single page in its iovec
|
||||
*/
|
||||
struct bio_pair *bio_split(struct bio *bi, int first_sectors)
|
||||
struct bio_pair *bio_pair_split(struct bio *bi, int first_sectors)
|
||||
{
|
||||
struct bio_pair *bp = mempool_alloc(bio_split_pool, GFP_NOIO);
|
||||
|
||||
@@ -1874,7 +1874,7 @@ struct bio_pair *bio_split(struct bio *bi, int first_sectors)
|
||||
|
||||
return bp;
|
||||
}
|
||||
EXPORT_SYMBOL(bio_split);
|
||||
EXPORT_SYMBOL(bio_pair_split);
|
||||
|
||||
/**
|
||||
* bio_trim - trim a bio
|
||||
|
Reference in New Issue
Block a user