Skip to content
Snippets Groups Projects
Commit 41c8da6a authored by Sean Klein's avatar Sean Klein Committed by CQ bot account: commit-bot@chromium.org
Browse files

[fshost][minfs] Add fshost tests for reformatting, verifying filesystems

Additionally, some minor related changes:
- Remove unused "FormatMinfs" function.
- Plumb the "Should we check filesystems?" boolean through explicit
arguments instead of environment variables.
- Make minfs superblock validation more strict. This validates that
clients can't format a filesystem with N blocks, and either mount
of check the consistency of a filesystem with M blocks, for M < N.
This change, along with the fshost tests, acts as a regression for
a bug where the consistency checker only inspected a subsection of the
filesystem.

Change-Id: I15470e9529553526011c8fba2d8a6f5987b8e1a6
parent c7c5cd5f
No related branches found
No related tags found
No related merge requests found
Showing with 106 additions and 37 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment