summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2018-07-30 16:06:01 -0700
committerDavid Anderson <dvander@google.com>2018-07-30 16:08:29 -0700
commit6dc508671bfd50ac92f71f4fc28c62eb308ad070 (patch)
tree3330b66ccb0b08114c19e33c4b1e1a92c97c98bc /trusty/coverage/coverage_test.cpp
parentd5f825c78bc98027a485d8bdecd14e8563a449ba (diff)
adb: Correctly detect deduplicated ext4 partitions.
The fs_has_shared_blocks function had two problems. One, it called statfs() on the mount point, which will return information about the file system the mount point is on, rather than the filesystem mounted at that location. Second, the check for EXT4_SUPER_MAGIC was inverted. Bug: N/A Test: adb remount -R works on an ext4 deduplicated device Change-Id: I2e5ef895ea274cb7cc3c35295120da90a026d0d2
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions