make shmem_fill_super() static

... have callers use shmem_mount()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2019-06-01 18:56:53 -04:00
parent df02450217
commit 7e30d2a5eb
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -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