From: FUJITA Tomonori Date: Thu, 18 Dec 2008 05:49:37 +0000 (+0900) Subject: [SCSI] block: fix the partial mappings with struct rq_map_data X-Git-Tag: v2.6.29-rc1~41^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56c451f4b583ccdf80c9e676179c9cb49de86745;p=pandora-kernel.git [SCSI] block: fix the partial mappings with struct rq_map_data This fixes bio_copy_user_iov to properly handle the partial mappings with struct rq_map_data (which only sg uses for now but st and osst will shortly). It adds the offset member to struct rq_map_data and changes blk_rq_map_user to update it so that bio_copy_user_iov can add an appropriate page frame via bio_add_pc_page(). Signed-off-by: FUJITA Tomonori Acked-by: Jens Axboe Signed-off-by: James Bottomley --- Reading git-diff-tree failed