rename: Thinprovisioning -> ThinProvisioning

This commit is contained in:
chessman
2019-06-10 12:42:21 +03:00
parent ae74f39fa8
commit e2b7ea4891
6 changed files with 11 additions and 9 deletions

View File

@@ -196,7 +196,7 @@ func InquiryPage0xB0(host int, cmd *api.SCSICommand) (*bytes.Buffer, uint16) {
maxUnmapBlockDescriptorCount uint32 = 0
)
if cmd.Device.Attrs.Thinprovisioning {
if cmd.Device.Attrs.ThinProvisioning {
maxUnmapLbaCount = 0xFFFFFFFF
maxUnmapBlockDescriptorCount = 0xFFFFFFFF
}
@@ -243,7 +243,7 @@ func InquiryPage0xB2(host int, cmd *api.SCSICommand) (*bytes.Buffer, uint16) {
binary.Write(buf, binary.BigEndian, pageLength)
var lbpu byte
if cmd.Device.Attrs.Thinprovisioning {
if cmd.Device.Attrs.ThinProvisioning {
lbpu = 1 << 7
}