Skip to content
Snippets Groups Projects
Commit ee60bddb authored by Nicholas Bellinger's avatar Nicholas Bellinger
Browse files

target: Fix trailing ASCII space usage in INQUIRY vendor+model


This patch fixes spc_emulate_inquiry_std() to add trailing ASCII
spaces for INQUIRY vendor + model fields following SPC-4 text:

  "ASCII data fields described as being left-aligned shall have any
   unused bytes at the end of the field (i.e., highest offset) and
   the unused bytes shall be filled with ASCII space characters (20h)."

This addresses a problem with Falconstor NSS multipathing.

Reported-by: default avatarTomas Molota <tomas.molota@lightstorm.sk>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent d4e4ab86
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment