]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r275368:
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 8 Dec 2014 09:47:49 +0000 (09:47 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 8 Dec 2014 09:47:49 +0000 (09:47 +0000)
commit21c39e5bbc5e065c882050d7d2914448d07aeb26
treea684a07e2a8deca0962ecd48518b89aa0d465b63
parentfd4c55371fbf22591cad097adcbd335dd7c65ca9
MFC r275368:
When passing LUN IDs through treat ASCII values as fixed-length, not
interpreating NULLs as EOLs, but converting them to spaces.

SPC-4 does not tell that T10-based IDs should be NULL-terminated/padded.
And while it tells that it should include only ASCII chars (0x20-0x7F),
there are some USB sticks (SanDisk Ultra Fit), that have NULLs inside
the value.  Treating NULLs as EOLs there made those LUN IDs non-unique.

git-svn-id: svn://svn.freebsd.org/base/stable/10@275603 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cam/cam_xpt.c