summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorAsias He <asias@redhat.com>2012-08-02 23:42:03 +0200
committerJens Axboe <axboe@kernel.dk>2012-08-02 23:42:03 +0200
commit963ab9e5da95c654bb3ab937cc478de4f7088a96 (patch)
tree644caf1f513e1f206d4c732044b943c276af9f8d /init
parent53362a05ae683e12a20d9ffdf58a88094a0bed9d (diff)
block: Introduce __blk_segment_map_sg() helper
Split the mapping code in blk_rq_map_sg() to a helper __blk_segment_map_sg(), so that other mapping function, e.g. blk_bio_map_sg(), can share the code. Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: Christoph Hellwig <hch@lst.de> Cc: Tejun Heo <tj@kernel.org> Cc: Shaohua Li <shli@kernel.org> Cc: "Michael S. Tsirkin" <mst@redhat.com> Cc: kvm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: virtualization@lists.linux-foundation.org Suggested-by: Jens Axboe <axboe@kernel.dk> Suggested-by: Tejun Heo <tj@kernel.org> Signed-off-by: Asias He <asias@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions