diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-05-30 22:59:57 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-07-05 05:01:59 +0300 |
commit | 14a253ce4210cd2ef133b392062477e9d656db4a (patch) | |
tree | 36cfc4d45ff27e77ab4100923430596c5e352d8c /include/linux/ramfs.h | |
parent | 5afdd0f1e6a7e56264fd933065884a7903375106 (diff) | |
download | linux-14a253ce4210cd2ef133b392062477e9d656db4a.tar.xz |
init_rootfs(): don't bother with init_ramfs_fs()
the only thing done by the latter is making ramfs visible
to mount(2); we don't need it there - rootfs is separate
and, in fact, made visible to mount(2) in the same init_rootfs().
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/ramfs.h')
-rw-r--r-- | include/linux/ramfs.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/ramfs.h b/include/linux/ramfs.h index 5ef7d54caac2..ee582bdb7fda 100644 --- a/include/linux/ramfs.h +++ b/include/linux/ramfs.h @@ -19,7 +19,6 @@ extern int ramfs_nommu_expand_for_mapping(struct inode *inode, size_t newsize); extern const struct file_operations ramfs_file_operations; extern const struct vm_operations_struct generic_file_vm_ops; -extern int __init init_ramfs_fs(void); int ramfs_fill_super(struct super_block *sb, void *data, int silent); |