android_system_core/fs_mgr/libfiemap_writer
David Anderson 483ce1d496 libfiemap_writer: Calculate FIBMAP blocks correctly.
FIBMAP blocks are returned in FIGETBSZ units, which means the number of
blocks also needs to be determined by FIGETBSZ. Using the stat blocksize
is incorrect. On VFAT, FIGETBSZ returns 512 whereas st_blksize is 32768.

Bug: 126230649
Test: fiemap_writer_test gtest
Change-Id: Id0a667936ff9c0b60b1e8f72920cf62ceece1657
2019-03-13 19:01:13 -07:00
..
include/libfiemap_writer libfiemap_writer: Fix the progress bar on VFAT partitions. 2019-03-13 13:58:12 -07:00
testdata
.clang-format
Android.bp libfiemap_writer: Fix the progress bar on VFAT partitions. 2019-03-13 13:58:12 -07:00
fiemap_writer.cpp libfiemap_writer: Calculate FIBMAP blocks correctly. 2019-03-13 19:01:13 -07:00
fiemap_writer_test.cpp libfiemap_writer: Calculate FIBMAP blocks correctly. 2019-03-13 19:01:13 -07:00
split_fiemap_writer.cpp libfiemap_writer: Fix the progress bar on VFAT partitions. 2019-03-13 13:58:12 -07:00
utility.cpp Support FiemapWriters that extend across multiple files. 2019-03-04 10:08:55 -08:00
utility.h Support FiemapWriters that extend across multiple files. 2019-03-04 10:08:55 -08:00