diff options
author | jh <jh@FreeBSD.org> | 2010-01-29 12:09:14 +0000 |
---|---|---|
committer | jh <jh@FreeBSD.org> | 2010-01-29 12:09:14 +0000 |
commit | cf482307807918efe12edbfee94740f0069fc33b (patch) | |
tree | d8a53985962bf414ab0d94bf298c03d965014b62 /share/misc/committers-src.dot | |
parent | f403000d3914d84750322e39d1292d2420d88026 (diff) | |
download | FreeBSD-src-cf482307807918efe12edbfee94740f0069fc33b.zip FreeBSD-src-cf482307807918efe12edbfee94740f0069fc33b.tar.gz |
Add "maxfilesize" mount option for tmpfs to allow specifying the
maximum file size limit. Default is UINT64_MAX when the option is
not specified. It was useless to set the limit to the total amount of
memory and swap in the system.
Use tmpfs_mem_info() rather than get_swpgtotal() in tmpfs_mount() to
check if there is enough memory available.
Remove now unused get_swpgtotal().
Reviewed by: Gleb Kurtsou
Approved by: trasz (mentor)
Diffstat (limited to 'share/misc/committers-src.dot')
0 files changed, 0 insertions, 0 deletions