hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/include/linux/ramfs.h
....@@ -2,10 +2,12 @@
22 #ifndef _LINUX_RAMFS_H
33 #define _LINUX_RAMFS_H
44
5
+#include <linux/fs_parser.h> // bleh...
6
+
57 struct inode *ramfs_get_inode(struct super_block *sb, const struct inode *dir,
68 umode_t mode, dev_t dev);
7
-extern struct dentry *ramfs_mount(struct file_system_type *fs_type,
8
- int flags, const char *dev_name, void *data);
9
+extern int ramfs_init_fs_context(struct fs_context *fc);
10
+extern void ramfs_kill_sb(struct super_block *sb);
911
1012 #ifdef CONFIG_MMU
1113 static inline int
....@@ -17,10 +19,8 @@
1719 extern int ramfs_nommu_expand_for_mapping(struct inode *inode, size_t newsize);
1820 #endif
1921
22
+extern const struct fs_parameter_spec ramfs_fs_parameters[];
2023 extern const struct file_operations ramfs_file_operations;
2124 extern const struct vm_operations_struct generic_file_vm_ops;
22
-extern int __init init_ramfs_fs(void);
23
-
24
-int ramfs_fill_super(struct super_block *sb, void *data, int silent);
2525
2626 #endif