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:
@@ -3547,7 +3547,7 @@ static void shmem_put_super(struct super_block *sb)
|
||||
sb->s_fs_info = NULL;
|
||||
}
|
||||
|
||||
int shmem_fill_super(struct super_block *sb, void *data, int silent)
|
||||
static int shmem_fill_super(struct super_block *sb, void *data, int silent)
|
||||
{
|
||||
struct inode *inode;
|
||||
struct shmem_sb_info *sbinfo;
|
||||
@@ -3759,7 +3759,7 @@ static const struct vm_operations_struct shmem_vm_ops = {
|
||||
#endif
|
||||
};
|
||||
|
||||
static struct dentry *shmem_mount(struct file_system_type *fs_type,
|
||||
struct dentry *shmem_mount(struct file_system_type *fs_type,
|
||||
int flags, const char *dev_name, void *data)
|
||||
{
|
||||
return mount_nodev(fs_type, flags, data, shmem_fill_super);
|
||||
|
||||
Reference in New Issue
Block a user