summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorAlessio Balsini <balsini@google.com>2019-10-30 17:28:24 +0000
committerAlessio Balsini <balsini@google.com>2019-10-30 17:50:59 +0000
commit3ab9f1f85b6d7abc4aff1f14a8096c5c4430bb6b (patch)
tree5eca9a7387d9207554e060909866d2f4377d83ce /trusty/coverage/coverage.cpp
parente901d3a3eed679e2d1834d2463acdc3578890d81 (diff)
COW device initialized by zeroing the whole first chunk
To be compliant with lvm, instead of just zeroing the first 32 bit of the COW device, force to zero the whole first chunk. Also switch to std::vector to store the zeroes, reducing the stack growth. Test: libsnapshot_test Bug: 139202197 Change-Id: I2d98549528a222d6c27bb566c68477b5ec3add20 Signed-off-by: Alessio Balsini <balsini@google.com>
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions