mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-22 07:06:22 +00:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user