diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-06-01 18:56:53 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-09-05 14:34:28 -0400 |
commit | 7e30d2a5eb0b2d5853f06cb8a2d44937d80a6bd6 (patch) | |
tree | 26721671b0c6d2f72162407385b5371112e467e0 /mm/shmem.c | |
parent | df02450217c98e01b8b22f805314470df71f2b9b (diff) |
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) | |||
3547 | sb->s_fs_info = NULL; | 3547 | sb->s_fs_info = NULL; |
3548 | } | 3548 | } |
3549 | 3549 | ||
3550 | int shmem_fill_super(struct super_block *sb, void *data, int silent) | 3550 | static int shmem_fill_super(struct super_block *sb, void *data, int silent) |
3551 | { | 3551 | { |
3552 | struct inode *inode; | 3552 | struct inode *inode; |
3553 | struct shmem_sb_info *sbinfo; | 3553 | struct shmem_sb_info *sbinfo; |
@@ -3759,7 +3759,7 @@ static const struct vm_operations_struct shmem_vm_ops = { | |||
3759 | #endif | 3759 | #endif |
3760 | }; | 3760 | }; |
3761 | 3761 | ||
3762 | static struct dentry *shmem_mount(struct file_system_type *fs_type, | 3762 | struct dentry *shmem_mount(struct file_system_type *fs_type, |
3763 | int flags, const char *dev_name, void *data) | 3763 | int flags, const char *dev_name, void *data) |
3764 | { | 3764 | { |
3765 | return mount_nodev(fs_type, flags, data, shmem_fill_super); | 3765 | return mount_nodev(fs_type, flags, data, shmem_fill_super); |