diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-06-02 00:56:53 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-09-05 20:34:28 +0200 |
commit | 7e30d2a5eb0b2d5853f06cb8a2d44937d80a6bd6 (patch) | |
tree | 26721671b0c6d2f72162407385b5371112e467e0 /mm | |
parent | make ramfs_fill_super() static (diff) | |
download | linux-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 'mm')
-rw-r--r-- | mm/shmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/shmem.c b/mm/shmem.c index 2bed4761f279..40f574c06375 100644 --- a/mm/shmem.c +++ b/mm/shmem.c @@ -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); |