projects
/
linux-drm-fsl-dcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
target: Set LBPWS10 bit in Logical Block Provisioning EVPD
[linux-drm-fsl-dcu.git]
/
drivers
/
target
/
target_core_spc.c
diff --git
a/drivers/target/target_core_spc.c
b/drivers/target/target_core_spc.c
index 1307600fe7264cb55234b6b8e88d8cc15878c799..f041f936a6cd581bdc0daf190756675799fbbf67 100644
(file)
--- a/
drivers/target/target_core_spc.c
+++ b/
drivers/target/target_core_spc.c
@@
-650,7
+650,7
@@
spc_emulate_evpd_b2(struct se_cmd *cmd, unsigned char *buf)
* support the use of the WRITE SAME (16) command to unmap LBAs.
*/
if (dev->dev_attrib.emulate_tpws != 0)
- buf[5] |= 0x40;
+ buf[5] |= 0x40
| 0x20
;
return 0;
}