diff options
| author | Daniel Rosenberg <drosen@google.com> | 2020-11-09 17:45:28 -0800 |
|---|---|---|
| committer | David Anderson <dvander@google.com> | 2020-11-11 15:49:18 -0800 |
| commit | 4fa7551c6335f5b38b3c15e4c77fd6d37a79ba29 (patch) | |
| tree | f3cc139330665fbc4d8ba3b83adab78af18a0cb2 /trusty/coverage/coverage.cpp | |
| parent | feaec514ae9ab17444d3c9ecebe2811bd8abb63d (diff) | |
libsnapshot: Don't try to truncate block devices
When we're writing to a block device, we can't truncate. Ignore those
commands. Truncate mostly just saves time in the read phase by chopping
off unused data in the event finalize wasn't called.
Bug: 172026020
Test: cow_api_test
Change-Id: I3befc71fa9597edf8243d0f9e17440db91409aea
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions
