aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ramfs.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-05-30 15:59:57 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2019-07-04 22:01:59 -0400
commit14a253ce4210cd2ef133b392062477e9d656db4a (patch)
tree36cfc4d45ff27e77ab4100923430596c5e352d8c /include/linux/ramfs.h
parentvfs: Convert smackfs to use the new mount API (diff)
downloadlinux-dev-14a253ce4210cd2ef133b392062477e9d656db4a.tar.xz
linux-dev-14a253ce4210cd2ef133b392062477e9d656db4a.zip
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.h1
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);