... have callers use shmem_mount()
Showing the changes to include/linux (1 of 4 files). Show all
Unified · Split
| @@ -50,7 +50,8 @@ static inline struct shmem_inode_info *SHMEM_I(struct inode *inode) · 49 unmodified lines | |||
| 50 | * Functions in mm/shmem.c called directly from elsewhere: | 50 | * Functions in mm/shmem.c called directly from elsewhere: |
| 51 | */ | 51 | */ |
| 52 | extern int shmem_init(void); | 52 | extern int shmem_init(void); |
| 53 | extern int shmem_fill_super(struct super_block *sb, void *data, int silent); | 53 | extern struct dentry *shmem_mount(struct file_system_type *fs_type, |
| 54 | int flags, const char *dev_name, void *data); | ||
| 54 | extern struct file *shmem_file_setup(const char *name, | 55 | extern struct file *shmem_file_setup(const char *name, |
| 55 | loff_t size, unsigned long flags); | 56 | loff_t size, unsigned long flags); |
| 56 | extern struct file *shmem_kernel_file_setup(const char *name, loff_t size, | 57 | extern struct file *shmem_kernel_file_setup(const char *name, loff_t size, |