mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-20 12:11:26 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user