summaryrefslogtreecommitdiffstats
path: root/drivers/base/devtmpfs.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-06-01 18:56:53 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2019-09-05 14:34:28 -0400
commit7e30d2a5eb0b2d5853f06cb8a2d44937d80a6bd6 (patch)
tree26721671b0c6d2f72162407385b5371112e467e0 /drivers/base/devtmpfs.c
parentdf02450217c98e01b8b22f805314470df71f2b9b (diff)
downloadlinux-7e30d2a5eb0b2d5853f06cb8a2d44937d80a6bd6.tar.bz2
make shmem_fill_super() static
... have callers use shmem_mount() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/base/devtmpfs.c')
-rw-r--r--drivers/base/devtmpfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/devtmpfs.c b/drivers/base/devtmpfs.c
index bafdf86b0497..dabf5006a254 100644
--- a/drivers/base/devtmpfs.c
+++ b/drivers/base/devtmpfs.c
@@ -71,7 +71,7 @@ static struct dentry *dev_mount(struct file_system_type *fs_type, int flags,
const char *dev_name, void *data)
{
#ifdef CONFIG_TMPFS
- return mount_nodev(fs_type, flags, data, shmem_fill_super);
+ return shmem_mount(fs_type, flags, dev_name, data);
#else
return ramfs_mount(fs_type, flags, dev_name, data);
#endif