block: Find bio sector offset given idx and offset
authorMartin K. Petersen <martin.petersen@oracle.com>
Thu, 2 Oct 2008 02:42:53 +0000 (22:42 -0400)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:22 +0000 (08:56 +0200)
commitad3316bf4eeb53c89164f759767f911072b56203
tree12caa0194f385c58e4543ad864a58dff02f33a47
parentb02739b01c5309d74a59859f2ce92c931d1f1955
block: Find bio sector offset given idx and offset

Helper function to find the sector offset in a bio given bvec index
and page offset.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/bio.c
include/linux/bio.h