linux/fs/jffs2/fs.c

/*
 * JFFS2 -- Journalling Flash File System, Version 2.
 *
 * Copyright © 2001-2007 Red Hat, Inc.
 * Copyright © 2004-2010 David Woodhouse <[email protected]>
 *
 * Created by David Woodhouse <[email protected]>
 *
 * For licensing information, see the file 'LICENCE' in this directory.
 *
 */

#define pr_fmt(fmt)

#include <linux/capability.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/cred.h>
#include <linux/fs.h>
#include <linux/fs_context.h>
#include <linux/list.h>
#include <linux/mtd/mtd.h>
#include <linux/pagemap.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/vfs.h>
#include <linux/crc32.h>
#include "nodelist.h"

static int jffs2_flash_setup(struct jffs2_sb_info *c);

int jffs2_do_setattr (struct inode *inode, struct iattr *iattr)
{}

int jffs2_setattr(struct mnt_idmap *idmap, struct dentry *dentry,
		  struct iattr *iattr)
{}

int jffs2_statfs(struct dentry *dentry, struct kstatfs *buf)
{}


void jffs2_evict_inode (struct inode *inode)
{}

struct inode *jffs2_iget(struct super_block *sb, unsigned long ino)
{}

void jffs2_dirty_inode(struct inode *inode, int flags)
{}

int jffs2_do_remount_fs(struct super_block *sb, struct fs_context *fc)
{}

/* jffs2_new_inode: allocate a new inode and inocache, add it to the hash,
   fill in the raw_inode while you're at it. */
struct inode *jffs2_new_inode (struct inode *dir_i, umode_t mode, struct jffs2_raw_inode *ri)
{}

static int calculate_inocache_hashsize(uint32_t flash_size)
{}

int jffs2_do_fill_super(struct super_block *sb, struct fs_context *fc)
{}

void jffs2_gc_release_inode(struct jffs2_sb_info *c,
				   struct jffs2_inode_info *f)
{}

struct jffs2_inode_info *jffs2_gc_fetch_inode(struct jffs2_sb_info *c,
					      int inum, int unlinked)
{}

static int jffs2_flash_setup(struct jffs2_sb_info *c) {}

void jffs2_flash_cleanup(struct jffs2_sb_info *c) {}