Re: [PATCH 3 of 7] block: Find bio sector offset given idx and offset

From: Jeff Moyer
Date: Tue Jun 10 2008 - 15:03:25 EST


"Martin K. Petersen" <martin.petersen@xxxxxxxxxx> writes:

> 2 files changed, 26 insertions(+)
> fs/bio.c | 24 ++++++++++++++++++++++++
> include/linux/bio.h | 2 ++
>
>
> Helper function to find the sector offset in a bio given bvec index
> and page offset.
>
> Signed-off-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>

Reviewed-by: Jeff Moyer <jmoyer@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/