[stgt] [PATCH 1/2] Allow GUIDs to be used as serial and IDs

Andy Grover agrover at redhat.com
Thu Mar 31 19:36:12 CEST 2011


See https://bugzilla.redhat.com/show_bug.cgi?id=679046

Increasing these fields will allow a full GUID with dashes to fit.

Signed-off-by: Andy Grover <agrover at redhat.com>
---
 usr/tgtd.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/usr/tgtd.h b/usr/tgtd.h
index 37943d2..39fa364 100644
--- a/usr/tgtd.h
+++ b/usr/tgtd.h
@@ -4,8 +4,8 @@
 #include "log.h"
 #include "scsi_cmnd.h"
 
-#define SCSI_ID_LEN		24
-#define SCSI_SN_LEN		32
+#define SCSI_ID_LEN		36
+#define SCSI_SN_LEN		36
 
 #define VENDOR_ID_LEN		8
 #define PRODUCT_ID_LEN		16
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list