commit | 29ad6c2aa27384fbd44fbf520528e90ae9ce0c34 | [log] [tgz] |
---|---|---|
author | Jiakai Zhang <jiakaiz@google.com> | Wed Jun 28 21:28:27 2023 +0100 |
committer | Jiakai Zhang <jiakaiz@google.com> | Thu Jun 29 21:46:15 2023 +0000 |
tree | e0ad85b1fa705830b200f6a07452a54d13725a26 | |
parent | 8790a71bc4afc32b5400a7ebe8e3ef4f91ee0355 [diff] |
Add a variant of ReadFstabFromFile for /proc/mounts. The variant excludes the code that is not for /proc/mounts, and therefore saves code size when being called. Also, after this change, the call to `SkipMountingPartitions` is skipped for /proc/mounts because it is not needed. Bug: 287958783 Test: atest CtsFsMgrTestCases Change-Id: Ie243257fa2e87e666be7decf97ec36c806bc4524