diff options
| author | Nicholas Bellinger <[email protected]> | 2011-02-09 23:35:04 +0000 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2011-02-12 18:01:42 +0000 |
| commit | e63af95888894af6ca4112dc90083d1dff0fec29 (patch) | |
| tree | 4251ae1e75e8dfe1f9ad4d0eaf1020eeb8e1b518 /drivers/message/fusion/mptctl.c | |
| parent | [SCSI] target: Fix top-level configfs_subsystem default_group shutdown breakage (diff) | |
| download | kernel-e63af95888894af6ca4112dc90083d1dff0fec29.tar.gz kernel-e63af95888894af6ca4112dc90083d1dff0fec29.zip | |
[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 <[email protected]>
Signed-off-by: Nicholas A. Bellinger <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/message/fusion/mptctl.c')
0 files changed, 0 insertions, 0 deletions
