diff options
author | Asias He <asias@redhat.com> | 2012-08-02 23:42:03 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-08-02 23:42:03 +0200 |
commit | 963ab9e5da95c654bb3ab937cc478de4f7088a96 (patch) | |
tree | 644caf1f513e1f206d4c732044b943c276af9f8d /mm/oom_kill.c | |
parent | 53362a05ae683e12a20d9ffdf58a88094a0bed9d (diff) | |
download | op-kernel-dev-963ab9e5da95c654bb3ab937cc478de4f7088a96.zip op-kernel-dev-963ab9e5da95c654bb3ab937cc478de4f7088a96.tar.gz |
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 'mm/oom_kill.c')
0 files changed, 0 insertions, 0 deletions