From 1478738737523af682a17022e888d320345f4303 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Thu, 6 Jan 2011 18:10:52 +0000 Subject: [PATCH] Fixed accidentally deleted line during r3163 merge git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@3197 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_vdisk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index 1cb984e3b..1e3de05a1 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -1306,6 +1306,7 @@ static void vdisk_exec_inquiry(struct scst_cmd *cmd) int usn_len; read_lock(&vdisk_serial_rwlock); usn_len = strlen(virt_dev->usn); + buf[1] = 0x80; buf[3] = usn_len; strncpy(&buf[4], virt_dev->usn, usn_len); read_unlock(&vdisk_serial_rwlock);