summaryrefslogtreecommitdiffstats
path: root/usr.bin/sockstat/sockstat.c
diff options
context:
space:
mode:
authorjh <jh@FreeBSD.org>2010-01-29 12:09:14 +0000
committerjh <jh@FreeBSD.org>2010-01-29 12:09:14 +0000
commitcf482307807918efe12edbfee94740f0069fc33b (patch)
treed8a53985962bf414ab0d94bf298c03d965014b62 /usr.bin/sockstat/sockstat.c
parentf403000d3914d84750322e39d1292d2420d88026 (diff)
downloadFreeBSD-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 'usr.bin/sockstat/sockstat.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud