summaryrefslogtreecommitdiffstats
path: root/init/do_mounts.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-06-02 00:56:53 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2019-09-05 20:34:28 +0200
commit7e30d2a5eb0b2d5853f06cb8a2d44937d80a6bd6 (patch)
tree26721671b0c6d2f72162407385b5371112e467e0 /init/do_mounts.c
parentmake ramfs_fill_super() static (diff)
downloadlinux-7e30d2a5eb0b2d5853f06cb8a2d44937d80a6bd6.tar.xz
linux-7e30d2a5eb0b2d5853f06cb8a2d44937d80a6bd6.zip
make shmem_fill_super() static
... have callers use shmem_mount() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'init/do_mounts.c')
-rw-r--r--init/do_mounts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/do_mounts.c b/init/do_mounts.c
index baedc2ef579e..16c29e57f224 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -631,7 +631,7 @@ static struct dentry *rootfs_mount(struct file_system_type *fs_type,
int flags, const char *dev_name, void *data)
{
if (IS_ENABLED(CONFIG_TMPFS) && is_tmpfs)
- return mount_nodev(fs_type, flags, data, shmem_fill_super);
+ return shmem_mount(fs_type, flags, dev_name, data);
return ramfs_mount(fs_type, flags, dev_name, data);
}