/* This is yucky. We squirrel the mirror struct away inside bi_next for read/write buffers. This is safe since the bh doesn't get submitted to the lower levels of block layer.  */
static struct mirror* bio_get_m(struct bio *bio)
/* This is yucky. We squirrel the mirror struct away inside bi_next for read/write buffers. This is safe since the bh doesn't get submitted to the lower levels of block layer.  */
static struct mirror* bio_get_m(struct bio *bio)
{
	return (struct mirror *) bio->bi_next;
}