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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux