Name

bio_trim — trim a bio

Synopsis

void bio_trim (struct bio * bio,
 int offset,
 int size);
 

Arguments

bio

bio to trim

offset

number of sectors to trim from the front of bio

size

size we want to trim bio to, in sectors