diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-03-16 21:55:21 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-21 09:37:30 -0700 |
commit | da5e4ef7fdb8f2fb0878dee3bd9d4dd10cea8cf1 (patch) | |
tree | 172df2771cbfbb8501aaf6e04c34b4fc1b3c7cca /fs/ramfs | |
parent | 1653268b1b538981df9bb85d637456530938be6c (diff) | |
download | kernel_samsung_smdk4412-da5e4ef7fdb8f2fb0878dee3bd9d4dd10cea8cf1.tar.gz kernel_samsung_smdk4412-da5e4ef7fdb8f2fb0878dee3bd9d4dd10cea8cf1.tar.bz2 kernel_samsung_smdk4412-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ramfs/inode.c b/fs/ramfs/inode.c index c94853473ca..f47cd212dee 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; |