diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-03-16 16:55:21 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-21 12:37:30 -0400 |
commit | da5e4ef7fdb8f2fb0878dee3bd9d4dd10cea8cf1 (patch) | |
tree | 172df2771cbfbb8501aaf6e04c34b4fc1b3c7cca /fs/ramfs/inode.c | |
parent | 1653268b1b538981df9bb85d637456530938be6c (diff) |
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/inode.c')
-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 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) | |||
214 | return 0; | 214 | return 0; |
215 | } | 215 | } |
216 | 216 | ||
217 | static int ramfs_fill_super(struct super_block * sb, void * data, int silent) | 217 | int ramfs_fill_super(struct super_block *sb, void *data, int silent) |
218 | { | 218 | { |
219 | struct ramfs_fs_info *fsi; | 219 | struct ramfs_fs_info *fsi; |
220 | struct inode *inode = NULL; | 220 | struct inode *inode = NULL; |