block: allow blk_rq_map_kern to append to requests
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 17 May 2009 15:55:18 +0000 (18:55 +0300)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 19 May 2009 10:14:55 +0000 (12:14 +0200)
commit3a5a39276d2a32b05b1ee25b384516805b17cf87
tree8a52a4a158ed341b7c3049826c549c2a210386e3
parentb2858d7d1639c04ca3c54988d76c5f7300b76f1c
block: allow blk_rq_map_kern to append to requests

Use blk_rq_append_bio() internally instead of blk_rq_bio_prep()
so blk_rq_map_kern can be called multiple times, to map multiple
buffers.

This is in the effort to un-export blk_rq_append_bio()

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-map.c