]> git.karo-electronics.de Git - karo-tx-linux.git/commit
block: Fix bad data direction in SG_IO
authorJens Axboe <jens.axboe@oracle.com>
Wed, 29 Nov 2006 13:01:40 +0000 (14:01 +0100)
committerAdrian Bunk <bunk@stusta.de>
Wed, 29 Nov 2006 13:01:40 +0000 (14:01 +0100)
commit18ff15828e2912b6d68a0481e01cd1ec34eb19e6
treeda2a9523ba0a70406fc36fa4aa59231ba694a38d
parentfeeddb339e1e9670e436f5f6328d958941727875
block: Fix bad data direction in SG_IO

Contrary to what the name misleads you to believe, SG_DXFER_TO_FROM_DEV
is really just a normal read seen from the device side.

This patch fixes http://lkml.org/lkml/2006/10/13/100

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
block/scsi_ioctl.c