]> git.baikalelectronics.ru Git - kernel.git/commit
sg: remove sg_write_xfer
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Tue, 2 Sep 2008 13:50:06 +0000 (22:50 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:14 +0000 (08:56 +0200)
commit03d6fa6dc5dba00947b31cbcb5903c1c3873e3f0
tree8504a35a3a247ec2a40578754aff2f3128294749
parent18d87b78dc11484d72d3562c6a73c0f835ff720a
sg: remove sg_write_xfer

sg_write_xfer was used to copy data from user space for WRITE
commands. blk_rq_map_user_iov and blk_rq_map_user do the job so
sg_write_xfer does nothing useful.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/scsi/sg.c