#define pr_fmt(fmt) …
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/list.h>
#include <linux/fs.h>
#include <linux/err.h>
#include <linux/mount.h>
#include <linux/fs_context.h>
#include <linux/fs_parser.h>
#include <linux/jffs2.h>
#include <linux/pagemap.h>
#include <linux/mtd/super.h>
#include <linux/ctype.h>
#include <linux/namei.h>
#include <linux/seq_file.h>
#include <linux/exportfs.h>
#include "compr.h"
#include "nodelist.h"
static void jffs2_put_super(struct super_block *);
static struct kmem_cache *jffs2_inode_cachep;
static struct inode *jffs2_alloc_inode(struct super_block *sb)
{ … }
static void jffs2_free_inode(struct inode *inode)
{ … }
static void jffs2_i_init_once(void *foo)
{ … }
static const char *jffs2_compr_name(unsigned int compr)
{ … }
static int jffs2_show_options(struct seq_file *s, struct dentry *root)
{ … }
static int jffs2_sync_fs(struct super_block *sb, int wait)
{ … }
static struct inode *jffs2_nfs_get_inode(struct super_block *sb, uint64_t ino,
uint32_t generation)
{ … }
static struct dentry *jffs2_fh_to_dentry(struct super_block *sb, struct fid *fid,
int fh_len, int fh_type)
{ … }
static struct dentry *jffs2_fh_to_parent(struct super_block *sb, struct fid *fid,
int fh_len, int fh_type)
{ … }
static struct dentry *jffs2_get_parent(struct dentry *child)
{ … }
static const struct export_operations jffs2_export_ops = …;
enum { … };
static const struct constant_table jffs2_param_compr[] = …;
static const struct fs_parameter_spec jffs2_fs_parameters[] = …;
static int jffs2_parse_param(struct fs_context *fc, struct fs_parameter *param)
{ … }
static inline void jffs2_update_mount_opts(struct fs_context *fc)
{ … }
static int jffs2_reconfigure(struct fs_context *fc)
{ … }
static const struct super_operations jffs2_super_operations = …;
static int jffs2_fill_super(struct super_block *sb, struct fs_context *fc)
{ … }
static int jffs2_get_tree(struct fs_context *fc)
{ … }
static void jffs2_free_fc(struct fs_context *fc)
{ … }
static const struct fs_context_operations jffs2_context_ops = …;
static int jffs2_init_fs_context(struct fs_context *fc)
{ … }
static void jffs2_put_super (struct super_block *sb)
{ … }
static void jffs2_kill_sb(struct super_block *sb)
{ … }
static struct file_system_type jffs2_fs_type = …;
MODULE_ALIAS_FS(…) …;
static int __init init_jffs2_fs(void)
{ … }
static void __exit exit_jffs2_fs(void)
{ … }
module_init(…) …;
module_exit(exit_jffs2_fs);
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;