Skip to content
Snippets Groups Projects
Commit dd4a80ce authored by Yifei Teng's avatar Yifei Teng Committed by CQ bot account: commit-bot@chromium.org
Browse files

[memfs] Refine the max page limit on a memfs

When a memfs is created without an explicit max page limit, the fs
assumes UINT64_MAX, which is confusing when manifested in
QueryFilesystem calls. This patch refines the cap to the amount of
available physical memory.

Test: /boot/test/fs/memfs-test
Change-Id: I10fada0b8b2eb7b33f270cd31c9d859157475c1d
parent e46afb78
Loading
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