[PATCH] Cleanup blk_rq_map_* interfaces
authorJens Axboe <axboe@suse.de>
Mon, 20 Jun 2005 12:06:01 +0000 (14:06 +0200)
committerJens Axboe <axboe@suse.de>
Mon, 20 Jun 2005 12:06:01 +0000 (14:06 +0200)
commitdd1cab95f356f1395278633565f198463cf6bd24
treeddf12e2fad7c0df0656a10ee6aac3f12a04dbed8
parentb823825e8e09aac6dc1ca362cd5639a87329d636
[PATCH] Cleanup blk_rq_map_* interfaces

Change the blk_rq_map_user() and blk_rq_map_kern() interface to require
a previously allocated request to be passed in. This is both more efficient
for multiple iterations of mapping data to the same request, and it is also
a much nicer API.

Signed-off-by: Jens Axboe <axboe@suse.de>
drivers/block/ll_rw_blk.c
drivers/block/scsi_ioctl.c
drivers/cdrom/cdrom.c
include/linux/blkdev.h