Blame SOURCES/0177-libmultipath-correctly-initialize-pp-sg_id.patch

4ae388
From e2b87038125c79089e0bd4c6fd905667c5108740 Mon Sep 17 00:00:00 2001
4ae388
From: Mike Christie <mchristi@redhat.com>
4ae388
Date: Tue, 9 Aug 2016 13:36:04 -0500
4ae388
Subject: [PATCH 01/11] libmultipath: correctly initialize pp->sg_id
4ae388
4ae388
For BZ 1348372 from upstream:
4ae388
4ae388
commit b4d9ca8dc8bbfbd3782bf4cf2cb1a440685ccd07
4ae388
Author: Hannes Reinecke <hare@suse.de>
4ae388
Date:   Wed Nov 11 13:38:57 2015 +0100
4ae388
4ae388
    libmultipath: correctly initialize pp->sg_id
4ae388
4ae388
    The default SCSI protocol is 'SCSI_PROTOCOL_UNSPEC';
4ae388
    '0' is SCSI_PROTOCOL_FCP.
4ae388
4ae388
    Signed-off-by: Hannes Reinecke <hare@suse.de>
4ae388
4ae388
Signed-off-by: Mike Christie <mchristi@redhat.com>
4ae388
---
4ae388
 libmultipath/structs.c | 1 +
4ae388
 1 file changed, 1 insertion(+)
4ae388
4ae388
diff --git a/libmultipath/structs.c b/libmultipath/structs.c
4ae388
index 30d247d..26a6a3b 100644
4ae388
--- a/libmultipath/structs.c
4ae388
+++ b/libmultipath/structs.c
4ae388
@@ -94,6 +94,7 @@ alloc_path (void)
4ae388
 		pp->sg_id.channel = -1;
4ae388
 		pp->sg_id.scsi_id = -1;
4ae388
 		pp->sg_id.lun = -1;
4ae388
+		pp->sg_id.proto_id = SCSI_PROTOCOL_UNSPEC;
4ae388
 		pp->fd = -1;
4ae388
 		pp->priority = PRIO_UNDEF;
4ae388
 	}
4ae388
-- 
4ae388
1.8.3.1
4ae388