sg: incorporate sg_build_direct into sg_start_req
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Tue, 2 Sep 2008 13:50:05 +0000 (22:50 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:14 +0000 (08:56 +0200)
commit626710c9d665ff381c7ec666b6a023f064ca5fef
tree011b7b58f3a5868439eab36fd3b3e90952ccbef0
parent44c7b0eaa041007066e30ab4869d5bbf8dad5989
sg: incorporate sg_build_direct into sg_start_req

Calling blk_rq_map_user() at a single place is better than at
different two places. It makes the code more understandable.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/scsi/sg.c
This page took 0.027449 seconds and 5 git commands to generate.