FUJITA Tomonori fad7f01e61 sg: set dxferp to NULL for READ with the older SG interface
With the older SG interface, we don't know a user-space address to
trasfer data when executing a SCSI command. So we can't pass a
user-space address to blk_rq_map_user.

This patch fixes sg to pass a NULL user-space address to
blk_rq_map_user so that it just sets up a request and bios with page
frames propely without data transfer.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-10-09 08:56:12 +02:00
..
2008-07-24 10:47:41 -07:00
2008-08-19 18:47:56 +02:00
2008-07-25 10:53:30 -07:00
2008-08-26 00:19:28 +10:00
2008-10-09 08:56:08 +02:00
2008-09-30 09:57:22 +02:00
2008-10-09 08:56:01 +02:00
2008-10-03 09:18:17 -07:00
2008-07-26 12:00:11 -07:00
2008-08-04 12:51:06 +09:00
2008-08-13 17:33:00 -07:00