diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-06-02 01:56:53 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-09-05 21:34:28 +0300 |
commit | 7e30d2a5eb0b2d5853f06cb8a2d44937d80a6bd6 (patch) | |
tree | 26721671b0c6d2f72162407385b5371112e467e0 /mm/shmem.c | |
parent | df02450217c98e01b8b22f805314470df71f2b9b (diff) | |
download | linux-7e30d2a5eb0b2d5853f06cb8a2d44937d80a6bd6.tar.xz |
make shmem_fill_super() static
... have callers use shmem_mount()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm/shmem.c')
-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); |