diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2008-02-08 04:21:49 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 09:22:41 -0800 |
commit | b76db735407a26c1036fdfef249ddc35eb969bc4 (patch) | |
tree | 02a9eb85b34765bc1eb82d632b1913ce79b8a6d6 /mm | |
parent | 680d794babebc74484c141448baa9b95b211cf5e (diff) | |
download | kernel_samsung_espresso10-b76db735407a26c1036fdfef249ddc35eb969bc4.zip kernel_samsung_espresso10-b76db735407a26c1036fdfef249ddc35eb969bc4.tar.gz kernel_samsung_espresso10-b76db735407a26c1036fdfef249ddc35eb969bc4.tar.bz2 |
mount-options-fix-tmpfs-fix
Documentation/SubmitCheckist, please.
Cc: Hugh Dickins <hugh@veritas.com>
Cc: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/shmem.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -85,6 +85,7 @@ enum sgp_type { SGP_WRITE, /* may exceed i_size, may allocate page */ }; +#ifdef CONFIG_TMPFS static unsigned long shmem_default_max_blocks(void) { return totalram_pages / 2; @@ -94,6 +95,7 @@ static unsigned long shmem_default_max_inodes(void) { return min(totalram_pages - totalhigh_pages, totalram_pages / 2); } +#endif static int shmem_getpage(struct inode *inode, unsigned long idx, struct page **pagep, enum sgp_type sgp, int *type); |