summaryrefslogtreecommitdiff
path: root/include/linux/shmem_fs.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-06-02 01:56:53 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2019-09-05 21:34:28 +0300
commit7e30d2a5eb0b2d5853f06cb8a2d44937d80a6bd6 (patch)
tree26721671b0c6d2f72162407385b5371112e467e0 /include/linux/shmem_fs.h
parentdf02450217c98e01b8b22f805314470df71f2b9b (diff)
downloadlinux-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 'include/linux/shmem_fs.h')
-rw-r--r--include/linux/shmem_fs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/shmem_fs.h b/include/linux/shmem_fs.h
index 20d815a33145..88cb98b0e49b 100644
--- a/include/linux/shmem_fs.h
+++ b/include/linux/shmem_fs.h
@@ -50,7 +50,8 @@ static inline struct shmem_inode_info *SHMEM_I(struct inode *inode)
* Functions in mm/shmem.c called directly from elsewhere:
*/
extern int shmem_init(void);
-extern int shmem_fill_super(struct super_block *sb, void *data, int silent);
+extern struct dentry *shmem_mount(struct file_system_type *fs_type,
+ int flags, const char *dev_name, void *data);
extern struct file *shmem_file_setup(const char *name,
loff_t size, unsigned long flags);
extern struct file *shmem_kernel_file_setup(const char *name, loff_t size,