linux-stable/drivers/block
Christoph Hellwig 406c9b605c [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>
2007-01-05 23:55:22 -08:00
..
aoe [PATCH] fix aoe without scatter-gather [Bug 7662] 2006-12-22 08:55:49 -08:00
paride [PATCH] remove drivers/block/paride/jumbo 2006-12-07 08:39:45 -08:00
DAC960.c [PATCH] slab: remove SLAB_ATOMIC 2006-12-07 08:39:24 -08:00
DAC960.h [PATCH] DAC960: use memmove for overlapping areas 2006-10-11 11:14:23 -07:00
Kconfig [PATCH] remove the broken BLK_DEV_SWIM_IOP driver 2006-12-13 09:05:53 -08:00
Makefile [PATCH] remove the broken BLK_DEV_SWIM_IOP driver 2006-12-13 09:05:53 -08:00
acsi.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
acsi_slm.c [PATCH] struct path: convert block_drivers 2006-12-08 08:28:44 -08:00
amiflop.c [PATCH] amiga_floppy_init() in non-modular case 2006-10-11 11:17:07 -07:00
ataflop.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
cciss.c [PATCH] cciss: build with PROC_FS=n 2006-12-30 10:56:42 -08:00
cciss.h [PATCH] cciss: add support for 1024 logical volumes 2006-12-07 08:39:30 -08:00
cciss_cmd.h [PATCH] cciss: add support for 1024 logical volumes 2006-12-07 08:39:30 -08:00
cciss_scsi.c [PATCH] completions: lockdep annotate on stack completions 2006-10-01 00:39:24 -07:00
cciss_scsi.h
cpqarray.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
cpqarray.h
cryptoloop.c [BLOCK] cryptoloop: Use block ciphers where applicable 2006-09-21 11:45:53 +10:00
floppy.c WorkStruct: Pass the work_struct pointer instead of context data 2006-11-22 14:55:48 +00:00
ida_cmd.h
ida_ioctl.h
loop.c [PATCH] struct path: convert block_drivers 2006-12-08 08:28:44 -08:00
nbd.c [PATCH] struct path: convert nbd 2006-12-08 08:28:47 -08:00
pktcdvd.c [PATCH] Fix BUG at drivers/scsi/scsi_lib.c:1118 caused by "pktsetup dvd /dev/sr0" 2007-01-05 23:55:22 -08:00
ps2esdi.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
rd.c [PATCH] rd: memory leak on rd_init() failure 2006-10-17 08:18:48 -07:00
smart1,2.h
swim3.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
sx8.c WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
ub.c WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
umem.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
viodasd.c [POWERPC] iSeries: fix viodasd init 2006-12-20 16:37:47 +11:00
xd.c [PATCH] Use linux/io.h instead of asm/io.h 2006-10-11 11:14:23 -07:00
xd.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
z2ram.c [PATCH] z2_init() in non-modular case 2006-10-11 11:17:07 -07:00