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: NFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
Showing
想要评论请 注册 或 登录