linux/drivers/target
Nicholas Bellinger e63af95888 [SCSI] target: Fix SCF_SCSI_CONTROL_SG_IO_CDB breakage
This patch fixes a bug introduced during the v4 control CDB emulation
refactoring that broke SCF_SCSI_CONTROL_SG_IO_CDB operation within
transport_map_control_cmd_to_task().  It moves the BUG_ON() into
transport_do_se_mem_map() after the TRANSPORT(dev)->do_se_mem_map()
RAMDISK_DR special case, and adds the proper struct se_mem assignment
when !list_empty() for normal non RAMDISK_DR backend device cases.

Reported-by: Kai-Thorsten Hambrecht <kai@hambrecht.org>
Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2011-02-12 12:01:42 -06:00
..
Kconfig
Makefile
target_core_alua.c
target_core_alua.h
target_core_cdb.c
target_core_configfs.c [SCSI] target: Fix top-level configfs_subsystem default_group shutdown breakage 2011-02-12 11:39:14 -06:00
target_core_device.c [SCSI] target: fixed missing lock drop in error path 2011-02-12 11:38:17 -06:00
target_core_fabric_configfs.c
target_core_fabric_lib.c
target_core_file.c
target_core_file.h
target_core_hba.c
target_core_hba.h
target_core_iblock.c [SCSI] target/iblock: Fix failed bd claim NULL pointer dereference 2011-02-12 11:37:00 -06:00
target_core_iblock.h
target_core_mib.c
target_core_mib.h
target_core_pr.c
target_core_pr.h
target_core_pscsi.c
target_core_pscsi.h
target_core_rd.c
target_core_rd.h
target_core_scdb.c
target_core_scdb.h
target_core_tmr.c
target_core_tpg.c
target_core_transport.c [SCSI] target: Fix SCF_SCSI_CONTROL_SG_IO_CDB breakage 2011-02-12 12:01:42 -06:00
target_core_ua.c
target_core_ua.h