summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2019-02-28 21:00:51 -0800
committerDavid Anderson <dvander@google.com>2019-03-01 09:52:52 -0800
commit47f7420366fdecc8523e115cb2fe792d227c92ff (patch)
treea377dbed1c80d44cb0b6fa1400012cbe75108c09 /trusty/coverage/coverage.cpp
parent33f344cb36846c33a7efcc80e9de1024cb698d3a (diff)
Remove the block size alignment restriction.
Rather than require block-size alignment, instead bump the requested file size to the necessary alignment. This ensures that the final block is usable without placing onerous restrictions on the caller to figure out the file system's block size. This will require callers (namely, gsid) to track the actual desired image size separately from the flie size. This patch also updates tests to use the actual filesize of the filesystem, rather than hardcoded 4096. Bug: 126230649 Test: fiemap_writer_test gtest Change-Id: I000cca274718c3ceac526d7c3392fe3a23bb42bc
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions