[SCSI] be2iscsi: Fix for first_burst
authorJayamohan Kallickal <jayamohank@serverengines.com>
Sat, 23 Jan 2010 00:06:10 +0000 (05:36 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 9 Feb 2010 00:34:11 +0000 (18:34 -0600)
This patch fixes the first_burst being modified
instead of max_burst

Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/be2iscsi/be_iscsi.c

index 3847a587d2a884c0140074f44470703edcc56144..d5712bc19a7116110ab5f39b6ed46502f0e67998 100644 (file)
@@ -274,8 +274,8 @@ int beiscsi_set_param(struct iscsi_cls_conn *cls_conn,
                        conn->max_recv_dlength = 65536;
                break;
        case ISCSI_PARAM_MAX_BURST:
-               if (session->first_burst > 262144)
-                       session->first_burst = 262144;
+               if (session->max_burst > 262144)
+                       session->max_burst = 262144;
                break;
        default:
                return 0;
This page took 0.02658 seconds and 5 git commands to generate.