Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
super.c File Reference
#include <linux/module.h>
#include <linux/blkdev.h>
#include <linux/parser.h>
#include <linux/exportfs.h>
#include <linux/statfs.h>
#include <linux/random.h>
#include <linux/mount.h>
#include <linux/quotaops.h>
#include <linux/seq_file.h>
#include <linux/log2.h>
#include <linux/cleancache.h>
#include <asm/uaccess.h>
#include "ext3.h"
#include "xattr.h"
#include "acl.h"
#include "namei.h"

Go to the source code of this file.

Macros

#define CREATE_TRACE_POINTS
 
#define EXT3_MOUNT_DEFAULT_DATA_MODE   EXT3_MOUNT_WRITEBACK_DATA
 
#define PLURAL(x)   (x), ((x)==1) ? "" : "s"
 

Enumerations

enum  {
  Opt_bsd_df, Opt_minix_df, Opt_grpid, Opt_nogrpid,
  Opt_resgid, Opt_resuid, Opt_sb, Opt_err_cont,
  Opt_err_panic, Opt_err_ro, Opt_nouid32, Opt_nocheck,
  Opt_debug, Opt_oldalloc, Opt_orlov, Opt_user_xattr,
  Opt_nouser_xattr, Opt_acl, Opt_noacl, Opt_reservation,
  Opt_noreservation, Opt_noload, Opt_nobh, Opt_bh,
  Opt_commit, Opt_journal_update, Opt_journal_inum, Opt_journal_dev,
  Opt_abort, Opt_data_journal, Opt_data_ordered, Opt_data_writeback,
  Opt_data_err_abort, Opt_data_err_ignore, Opt_usrjquota, Opt_grpjquota,
  Opt_offusrjquota, Opt_offgrpjquota, Opt_jqfmt_vfsold, Opt_jqfmt_vfsv0,
  Opt_jqfmt_vfsv1, Opt_quota, Opt_noquota, Opt_ignore,
  Opt_barrier, Opt_nobarrier, Opt_err, Opt_resize,
  Opt_usrquota, Opt_grpquota
}
 

Functions

handle_t * ext3_journal_start_sb (struct super_block *sb, int nblocks)
 
int __ext3_journal_stop (const char *where, handle_t *handle)
 
void ext3_journal_abort_handle (const char *caller, const char *err_fn, struct buffer_head *bh, handle_t *handle, int err)
 
void ext3_msg (struct super_block *sb, const char *prefix, const char *fmt,...)
 
void ext3_error (struct super_block *sb, const char *function, const char *fmt,...)
 
void __ext3_std_error (struct super_block *sb, const char *function, int errno)
 
void ext3_abort (struct super_block *sb, const char *function, const char *fmt,...)
 
void ext3_warning (struct super_block *sb, const char *function, const char *fmt,...)
 
void ext3_update_dynamic_rev (struct super_block *sb)
 
int ext3_force_commit (struct super_block *sb)
 
 MODULE_AUTHOR ("Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others")
 
 MODULE_DESCRIPTION ("Second Extended Filesystem with journaling extensions")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define CREATE_TRACE_POINTS

Definition at line 33 of file super.c.

#define EXT3_MOUNT_DEFAULT_DATA_MODE   EXT3_MOUNT_WRITEBACK_DATA

Definition at line 43 of file super.c.

#define PLURAL (   x)    (x), ((x)==1) ? "" : "s"

Enumeration Type Documentation

anonymous enum
Enumerator:
Opt_bsd_df 
Opt_minix_df 
Opt_grpid 
Opt_nogrpid 
Opt_resgid 
Opt_resuid 
Opt_sb 
Opt_err_cont 
Opt_err_panic 
Opt_err_ro 
Opt_nouid32 
Opt_nocheck 
Opt_debug 
Opt_oldalloc 
Opt_orlov 
Opt_user_xattr 
Opt_nouser_xattr 
Opt_acl 
Opt_noacl 
Opt_reservation 
Opt_noreservation 
Opt_noload 
Opt_nobh 
Opt_bh 
Opt_commit 
Opt_journal_update 
Opt_journal_inum 
Opt_journal_dev 
Opt_abort 
Opt_data_journal 
Opt_data_ordered 
Opt_data_writeback 
Opt_data_err_abort 
Opt_data_err_ignore 
Opt_usrjquota 
Opt_grpjquota 
Opt_offusrjquota 
Opt_offgrpjquota 
Opt_jqfmt_vfsold 
Opt_jqfmt_vfsv0 
Opt_jqfmt_vfsv1 
Opt_quota 
Opt_noquota 
Opt_ignore 
Opt_barrier 
Opt_nobarrier 
Opt_err 
Opt_resize 
Opt_usrquota 
Opt_grpquota 

Definition at line 807 of file super.c.

Function Documentation

int __ext3_journal_stop ( const char where,
handle_t *  handle 
)

Definition at line 88 of file super.c.

void __ext3_std_error ( struct super_block sb,
const char function,
int  errno 
)

Definition at line 240 of file super.c.

void ext3_abort ( struct super_block sb,
const char function,
const char fmt,
  ... 
)

Definition at line 269 of file super.c.

void ext3_error ( struct super_block sb,
const char function,
const char fmt,
  ... 
)

Definition at line 185 of file super.c.

int ext3_force_commit ( struct super_block sb)

Definition at line 2508 of file super.c.

void ext3_journal_abort_handle ( const char caller,
const char err_fn,
struct buffer_head *  bh,
handle_t *  handle,
int  err 
)

Definition at line 105 of file super.c.

handle_t* ext3_journal_start_sb ( struct super_block sb,
int  nblocks 
)

Definition at line 68 of file super.c.

void ext3_msg ( struct super_block sb,
const char prefix,
const char fmt,
  ... 
)

Definition at line 126 of file super.c.

void ext3_update_dynamic_rev ( struct super_block sb)

Definition at line 317 of file super.c.

void ext3_warning ( struct super_block sb,
const char function,
const char fmt,
  ... 
)

Definition at line 300 of file super.c.

MODULE_AUTHOR ( "Remy  Card,
Stephen  Tweedie,
Andrew  Morton,
Andreas  Dilger,
Theodore Ts'o and others"   
)
MODULE_DESCRIPTION ( "Second Extended Filesystem with journaling extensions )
MODULE_LICENSE ( "GPL"  )