Name

bio_clone_bioset — clone a bio

Synopsis

struct bio * bio_clone_bioset (struct bio * bio,
 gfp_t gfp_mask,
 struct bio_set * bs);
 

Arguments

bio

bio to clone

gfp_mask

allocation priority

bs

bio_set to allocate from

Description

Like __bio_clone, only also allocates the returned bio