commit | b28c9d6b2d3b52d7c4ac1ad8c18591be99e92772 | [log] [tgz] |
---|---|---|
author | Daniel Nishi <dhnishi@google.com> | Thu Mar 30 15:46:01 2017 -0700 |
committer | Daniel Nishi <dhnishi@google.com> | Thu Apr 06 14:32:13 2017 -0700 |
tree | fbd5324f1473544d19e938ef39ab8737377c92f8 | |
parent | eb93670383aa40ad7ed55861e667c08e8a3682a6 [diff] |
Fix crash when measuring storage. If we are measuring storage and a volume is removed at the same time, we can enter a state where we previously verified the volume existed, but it no longer does. This causes an NPE. By adding in a null check, we can avoid this crash. Change-Id: Ib8dbf05102a122bdf4bb6063374e993a1de68425 Fixes: 36689190 Test: None