summaryrefslogtreecommitdiff
path: root/debuggerd/handler/debuggerd_handler.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2019-03-13 17:55:41 -0700
committerDavid Anderson <dvander@google.com>2019-03-13 19:01:13 -0700
commit483ce1d4961e500f45b9f9831f6a88c5959071ea (patch)
treecabd1e41ddca50766bb60c8255288e3a5b95ded8 /debuggerd/handler/debuggerd_handler.cpp
parent5df00923536ccc75731e380828323681bb93c660 (diff)
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
Diffstat (limited to 'debuggerd/handler/debuggerd_handler.cpp')
0 files changed, 0 insertions, 0 deletions