Fix currently disabled setting of LBPRZ in INQUIRY

Reported by Steve Looby <slooby@permabit.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5141 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2013-12-14 05:50:25 +00:00
parent 82dcd52240
commit 98a22c124e

View File

@@ -2587,7 +2587,7 @@ static enum compl_status_e vdisk_exec_inquiry(struct vdisk_cmd_params *p)
*
* Changing it change also READ CAPACITY(16)!
*/
buf[5] |= 0x40; /* LBPRZ */
buf[5] |= 0x4; /* LBPRZ */
#endif
buf[6] = 2; /* thin provisioned */
resp_len = buf[3] + 4;