commit | 4e936b4b6e9cb5aa5f5a6c9fa5ec184ad72ea6dc | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Thu Feb 25 19:57:22 2021 -0800 |
committer | David Anderson <dvander@google.com> | Fri Feb 26 17:27:42 2021 -0800 |
tree | e0f9e96df2d9b4a9b12329903879ae20fc294ded | |
parent | e3cdd2945ae220ca435d1ccf6e1a3b1f1287f0f5 [diff] |
libsnapshot: Quell error spam during factory data resets. QuerySnapshotStatus assumes IsSnapshotDevice() would return true. Additionally, recovery does not have access to /dev/loop-control, which cannot be used by libfiemap anyway. Access it on-demand instead of preemptively. Bug: N/A Test: manual test Change-Id: I0f746870d7a8ec6d666f0bdd2fef3464b214928b