freebsd-skq/sys/fs/tmpfs
Jaakko Heinonen dec3772ee4 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)
2010-01-29 12:09:14 +00:00
..
tmpfs_fifoops.c
tmpfs_fifoops.h
tmpfs_subr.c - Change the type of nodes_max to u_int and use "%u" format string to 2010-01-20 16:56:20 +00:00
tmpfs_vfsops.c Add "maxfilesize" mount option for tmpfs to allow specifying the 2010-01-29 12:09:14 +00:00
tmpfs_vnops.c
tmpfs_vnops.h
tmpfs.h - Fix some style bugs in tmpfs_mount(). [1] 2010-01-13 14:17:21 +00:00