linux/drivers/target
Nicholas Bellinger 613640e4e1 [SCSI] target: Convert backend ->create_virtdevice() call to return ERR_PTR
This patch converts the target_core_store_dev_enable() -> struct
se_subsystem_api->create_virtdevice() call to return proper ERR_PTR values
back up to configfs logic during backend dependent struct se_device ENABLE
exception conditions.

Along with the change to target_core_configfs.c, this includes converting IBLOCK,
FILEIO, pSCSI, and RAMDISK_* backend subsystem plugins to obtain upper level
PTR_ERR return codes (where available), and return via ERR_PTR during a
*_create_virtdev() failure.

Reported-by: Fubo Chen <fubo.chen@gmail.com>
Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2011-03-23 11:36:24 -05:00
..
Kconfig
Makefile [SCSI] target: remove EXTRA_CFLAGS 2011-03-23 11:36:24 -05:00
target_core_alua.c
target_core_alua.h
target_core_cdb.c [SCSI] target: Fix volume size misreporting for volumes > 2TB 2011-03-14 18:31:08 -05:00
target_core_configfs.c [SCSI] target: Convert backend ->create_virtdevice() call to return ERR_PTR 2011-03-23 11:36:24 -05:00
target_core_device.c drivers: remove extraneous includes of smp_lock.h 2011-03-02 00:02:40 +01:00
target_core_fabric_configfs.c [SCSI] target: fix use after free detected by SLUB poison 2011-02-12 12:32:41 -06:00
target_core_fabric_lib.c drivers: remove extraneous includes of smp_lock.h 2011-03-02 00:02:40 +01:00
target_core_file.c [SCSI] target: Convert backend ->create_virtdevice() call to return ERR_PTR 2011-03-23 11:36:24 -05:00
target_core_file.h
target_core_hba.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-03-18 10:37:40 -07:00
target_core_hba.h
target_core_iblock.c [SCSI] target: Convert backend ->create_virtdevice() call to return ERR_PTR 2011-03-23 11:36:24 -05:00
target_core_iblock.h
target_core_pr.c
target_core_pr.h
target_core_pscsi.c [SCSI] target: Convert backend ->create_virtdevice() call to return ERR_PTR 2011-03-23 11:36:24 -05:00
target_core_pscsi.h
target_core_rd.c [SCSI] target: Convert backend ->create_virtdevice() call to return ERR_PTR 2011-03-23 11:36:24 -05:00
target_core_rd.h
target_core_scdb.c
target_core_scdb.h
target_core_tmr.c [SCSI] target: Fix t_transport_aborted handling in LUN_RESET + active I/O shutdown 2011-02-28 11:23:32 -06:00
target_core_tpg.c drivers: remove extraneous includes of smp_lock.h 2011-03-02 00:02:40 +01:00
target_core_transport.c Merge branch 'config' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl 2011-03-16 17:21:00 -07:00
target_core_ua.c
target_core_ua.h