diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-04-19 01:23:28 (GMT) |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-05-02 22:31:50 (GMT) |
commit | bcab2ccdc61679b6e33d35ae3fe8275df8e20c61 (patch) | |
tree | e49f24eca32cdd28714166ed81b576dcc1f40eba /drivers/scsi/ipr.h | |
parent | 2267a290b0900d65259cc06e11d4c996adfd957c (diff) | |
download | linux-bcab2ccdc61679b6e33d35ae3fe8275df8e20c61.tar.xz |
[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>
Diffstat (limited to 'drivers/scsi/ipr.h')
0 files changed, 0 insertions, 0 deletions