aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-10-17 02:29:27 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 11:42:56 -0400
commit8e3f715a7f004ceb6451cf86101d6e2546eea883 (patch)
tree0e6bdbfd37b889bd9d32499fe26bd35cde3e36db
parent5a9df732b6a547aa843e8655044db9573d7b4e71 (diff)
Remove valueless definition of hard-selected RAMFS option
Since CONFIG_RAMFS is currently hard-selected to "y", and since Documentation/filesystems/ramfs-rootfs-initramfs.txt reads as follows: "The amount of code required to implement ramfs is tiny, because all the work is done by the existing Linux caching infrastructure. Basically, you're mounting the disk cache as a filesystem. Because of this, ramfs is not an optional component removable via menuconfig, since there would be negligible space savings." It seems pointless to leave this as a Kconfig entry. Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--fs/Kconfig14
-rw-r--r--fs/Makefile2
-rw-r--r--fs/ramfs/Makefile2
3 files changed, 2 insertions, 16 deletions
diff --git a/fs/Kconfig b/fs/Kconfig
index 9a40a9c665c7..f0df9a2e19e1 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -999,20 +999,6 @@ config HUGETLBFS
999config HUGETLB_PAGE 999config HUGETLB_PAGE
1000 def_bool HUGETLBFS 1000 def_bool HUGETLBFS
1001 1001
1002config RAMFS
1003 bool
1004 default y
1005 ---help---
1006 Ramfs is a file system which keeps all files in RAM. It allows
1007 read and write access.
1008
1009 It is more of an programming example than a useable file system. If
1010 you need a file system which lives in RAM with limit checking use
1011 tmpfs.
1012
1013 To compile this as a module, choose M here: the module will be called
1014 ramfs.
1015
1016config CONFIGFS_FS 1002config CONFIGFS_FS
1017 tristate "Userspace-driven configuration filesystem (EXPERIMENTAL)" 1003 tristate "Userspace-driven configuration filesystem (EXPERIMENTAL)"
1018 depends on SYSFS && EXPERIMENTAL 1004 depends on SYSFS && EXPERIMENTAL
diff --git a/fs/Makefile b/fs/Makefile
index 720c29d57a62..500cf15cdb4b 100644
--- a/fs/Makefile
+++ b/fs/Makefile
@@ -72,7 +72,7 @@ obj-$(CONFIG_JBD) += jbd/
72obj-$(CONFIG_JBD2) += jbd2/ 72obj-$(CONFIG_JBD2) += jbd2/
73obj-$(CONFIG_EXT2_FS) += ext2/ 73obj-$(CONFIG_EXT2_FS) += ext2/
74obj-$(CONFIG_CRAMFS) += cramfs/ 74obj-$(CONFIG_CRAMFS) += cramfs/
75obj-$(CONFIG_RAMFS) += ramfs/ 75obj-y += ramfs/
76obj-$(CONFIG_HUGETLBFS) += hugetlbfs/ 76obj-$(CONFIG_HUGETLBFS) += hugetlbfs/
77obj-$(CONFIG_CODA_FS) += coda/ 77obj-$(CONFIG_CODA_FS) += coda/
78obj-$(CONFIG_MINIX_FS) += minix/ 78obj-$(CONFIG_MINIX_FS) += minix/
diff --git a/fs/ramfs/Makefile b/fs/ramfs/Makefile
index 5a0236e02ee1..c71e65dcad25 100644
--- a/fs/ramfs/Makefile
+++ b/fs/ramfs/Makefile
@@ -2,7 +2,7 @@
2# Makefile for the linux ramfs routines. 2# Makefile for the linux ramfs routines.
3# 3#
4 4
5obj-$(CONFIG_RAMFS) += ramfs.o 5obj-y += ramfs.o
6 6
7file-mmu-y := file-nommu.o 7file-mmu-y := file-nommu.o
8file-mmu-$(CONFIG_MMU) := file-mmu.o 8file-mmu-$(CONFIG_MMU) := file-mmu.o