From 98a22c124e75ab2668e8dfe672e2114cab7ad2a1 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Sat, 14 Dec 2013 05:50:25 +0000 Subject: [PATCH] Fix currently disabled setting of LBPRZ in INQUIRY Reported by Steve Looby git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5141 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_vdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index 20fcba6d5..104034f39 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -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;