History

make shmem_fill_super() static

... have callers use shmem_mount()

Al Viro committed 7 years ago

Commit 7e30d2a1 parent df024504 files · +6 −5Browse files

Showing the changes to include/linux (1 of 4 files). Show all

Unified · Split

include/linux/shmem_fs.h+2−1
@@ -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 */
52extern int shmem_init(void);52extern int shmem_init(void);
53extern int shmem_fill_super(struct super_block *sb, void *data, int silent);53extern struct dentry *shmem_mount(struct file_system_type *fs_type,
54 int flags, const char *dev_name, void *data);
54extern struct file *shmem_file_setup(const char *name,55extern struct file *shmem_file_setup(const char *name,
55 loff_t size, unsigned long flags);56 loff_t size, unsigned long flags);
56extern struct file *shmem_kernel_file_setup(const char *name, loff_t size,57extern struct file *shmem_kernel_file_setup(const char *name, loff_t size,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t