diff options
author | Christoph Hellwig <hch@lst.de> | 2007-01-05 16:36:26 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2007-01-05 23:55:22 -0800 |
commit | 406c9b605cbc45151c03ac9a3f95e9acf050808c (patch) | |
tree | fd7d1d60065edf85c456b1643e73c83a3d3fbc9a /include/asm-generic/bitops/fls64.h | |
parent | d73e3cd73c058ce792ad276f979680aa331f4f8e (diff) |
[PATCH] Fix BUG at drivers/scsi/scsi_lib.c:1118 caused by "pktsetup dvd /dev/sr0"
Fix http://bugzilla.kernel.org/show_bug.cgi?id=7667
This is because the packet driver tries to send down read/write BLOCK_PC
commands that don't use a bio and do not use sg lists.
The right fix is to replace all the packet_command stuff in the packet
driver by scsi_execute() which needs to be lifted from scsi code to
the block code for that.
Fix the bug for now. It's not the full way to a generic execute block pc
infrastcuture but fixes the bug for the time being.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Peter Osterlund <petero2@telia.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-generic/bitops/fls64.h')
0 files changed, 0 insertions, 0 deletions