summaryrefslogtreecommitdiffstats
path: root/fs/ramfs
diff options
context:
space:
mode:
authorPeter Korsgaard2010-03-16 21:55:21 +0100
committerGreg Kroah-Hartman2010-05-21 18:37:30 +0200
commitda5e4ef7fdb8f2fb0878dee3bd9d4dd10cea8cf1 (patch)
tree172df2771cbfbb8501aaf6e04c34b4fc1b3c7cca /fs/ramfs
parentdriver core: module.c: Use kasprintf (diff)
downloadkernel-qcow2-linux-da5e4ef7fdb8f2fb0878dee3bd9d4dd10cea8cf1.tar.gz
kernel-qcow2-linux-da5e4ef7fdb8f2fb0878dee3bd9d4dd10cea8cf1.tar.xz
kernel-qcow2-linux-da5e4ef7fdb8f2fb0878dee3bd9d4dd10cea8cf1.zip
devtmpfs: support !CONFIG_TMPFS
Make devtmpfs available on (embedded) configurations without SHMEM/TMPFS, using ramfs instead. Saves ~15KB. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Acked-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/ramfs')
-rw-r--r--fs/ramfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ramfs/inode.c b/fs/ramfs/inode.c
index c94853473ca9..f47cd212dee1 100644
--- a/fs/ramfs/inode.c
+++ b/fs/ramfs/inode.c
@@ -214,7 +214,7 @@ static int ramfs_parse_options(char *data, struct ramfs_mount_opts *opts)
return 0;
}
-static int ramfs_fill_super(struct super_block * sb, void * data, int silent)
+int ramfs_fill_super(struct super_block *sb, void *data, int silent)
{
struct ramfs_fs_info *fsi;
struct inode *inode = NULL;