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
..
2010-01-28 19:41:26 +00:00
2009-09-04 06:19:37 +00:00
2009-09-03 17:37:23 +00:00
2009-06-12 22:53:49 +00:00
2010-01-26 11:12:47 +00:00
2008-10-08 13:20:02 +00:00