]> err.no Git - linux-2.6/commit
[PATCH] Fix bad data direction in SG_IO
authorJens Axboe <jens.axboe@oracle.com>
Mon, 13 Nov 2006 17:04:59 +0000 (18:04 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 13 Nov 2006 17:47:00 +0000 (09:47 -0800)
commit616e8a091a035c0bd9b871695f4af191df123caa
tree9b9c97c6b55a9a097bafb453085375497b916fdc
parentbf2b3de2a8e66e5f554c2113fac688bcaaca77fb
[PATCH] 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: Linus Torvalds <torvalds@osdl.org>
block/scsi_ioctl.c