commit | bdb2eba4a44be7e815c9fe30029a593a4777ea1e | [log] [tgz] |
---|---|---|
author | Stephen Crane <cranes@google.com> | Fri Sep 24 09:40:32 2021 -0700 |
committer | Stephen Crane <cranes@google.com> | Fri Sep 24 10:20:58 2021 -0700 |
tree | 8cdce4673e9bda33156b4ff6e709448508b64f68 | |
parent | 51fd280b8ee6a95b9ac296e24ae02d5f0bf2bfd4 [diff] |
storageproxyd: Fix inverted conditional in error checking check_scci_sense (now renamed unexpected_scsi_sense) was supposed to return false iff the sense data was valid and did not contain an error. This return value was inverted. Invert the return values and rename the function to clarify its role. Test: m storageproxyd Bug: 195544379 Change-Id: I3b84188aabe58345a83d2fd57bb8103e730cf365