]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] scsi_transport_iscsi: fix error return code in iscsi_transport_init()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 19 Apr 2013 01:23:28 +0000 (09:23 +0800)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 2 May 2013 22:31:50 +0000 (15:31 -0700)
commita43ec0ffc95b6ab706e051dc401e27cb24709c95
treee49f24eca32cdd28714166ed81b576dcc1f40eba
parent8af7c9f3a0b540f9a6f52011fcbcb9641e9e4801
[SCSI] scsi_transport_iscsi: fix error return code in iscsi_transport_init()

Fix to return -ENOMEM in the create workqueue error case
instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/scsi_transport_iscsi.c