#include <linux/module.h>
#include <linux/init.h>
#include <linux/statfs.h>
#include <linux/parser.h>
#include <linux/magic.h>
#include <linux/sched.h>
#include <linux/cred.h>
#include <linux/slab.h>
#include <linux/writeback.h>
#include <linux/blkdev.h>
#include <linux/seq_file.h>
#include <linux/iversion.h>
#include "affs.h"
static int affs_statfs(struct dentry *dentry, struct kstatfs *buf);
static int affs_show_options(struct seq_file *m, struct dentry *root);
static int affs_remount (struct super_block *sb, int *flags, char *data);
static void
affs_commit_super(struct super_block *sb, int wait)
{ … }
static void
affs_put_super(struct super_block *sb)
{ … }
static int
affs_sync_fs(struct super_block *sb, int wait)
{ … }
static void flush_superblock(struct work_struct *work)
{ … }
void affs_mark_sb_dirty(struct super_block *sb)
{ … }
static struct kmem_cache * affs_inode_cachep;
static struct inode *affs_alloc_inode(struct super_block *sb)
{ … }
static void affs_free_inode(struct inode *inode)
{ … }
static void init_once(void *foo)
{ … }
static int __init init_inodecache(void)
{ … }
static void destroy_inodecache(void)
{ … }
static const struct super_operations affs_sops = …;
enum { … };
static const match_table_t tokens = …;
static int
parse_options(char *options, kuid_t *uid, kgid_t *gid, int *mode, int *reserved, s32 *root,
int *blocksize, char **prefix, char *volume, unsigned long *mount_opts)
{ … }
static int affs_show_options(struct seq_file *m, struct dentry *root)
{ … }
static int affs_fill_super(struct super_block *sb, void *data, int silent)
{ … }
static int
affs_remount(struct super_block *sb, int *flags, char *data)
{ … }
static int
affs_statfs(struct dentry *dentry, struct kstatfs *buf)
{ … }
static struct dentry *affs_mount(struct file_system_type *fs_type,
int flags, const char *dev_name, void *data)
{ … }
static void affs_kill_sb(struct super_block *sb)
{ … }
static struct file_system_type affs_fs_type = …;
MODULE_ALIAS_FS(…) …;
static int __init init_affs_fs(void)
{ … }
static void __exit exit_affs_fs(void)
{ … }
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
module_init(…) …
module_exit(…)