aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libiscsi_tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/libiscsi_tcp.c')
-rw-r--r--drivers/scsi/libiscsi_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libiscsi_tcp.c b/drivers/scsi/libiscsi_tcp.c
index a83ee56a185e..41643c860d26 100644
--- a/drivers/scsi/libiscsi_tcp.c
+++ b/drivers/scsi/libiscsi_tcp.c
@@ -1128,7 +1128,7 @@ int iscsi_tcp_r2tpool_alloc(struct iscsi_session *session)
1128 1128
1129 /* R2T xmit queue */ 1129 /* R2T xmit queue */
1130 if (kfifo_alloc(&tcp_task->r2tqueue, 1130 if (kfifo_alloc(&tcp_task->r2tqueue,
1131 session->max_r2t * 4 * sizeof(void*), GFP_KERNEL, NULL)) { 1131 session->max_r2t * 4 * sizeof(void*), GFP_KERNEL)) {
1132 iscsi_pool_free(&tcp_task->r2tpool); 1132 iscsi_pool_free(&tcp_task->r2tpool);
1133 goto r2t_alloc_fail; 1133 goto r2t_alloc_fail;
1134 } 1134 }