Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
super.h File Reference
#include <linux/fs.h>
#include <linux/dcache.h>
#include "incore.h"

Go to the source code of this file.

Functions

void gfs2_lm_unmount (struct gfs2_sbd *sdp)
 
void gfs2_jindex_free (struct gfs2_sbd *sdp)
 
int gfs2_mount_args (struct gfs2_args *args, char *data)
 
struct gfs2_jdescgfs2_jdesc_find (struct gfs2_sbd *sdp, unsigned int jid)
 
int gfs2_jdesc_check (struct gfs2_jdesc *jd)
 
int gfs2_lookup_in_master_dir (struct gfs2_sbd *sdp, char *filename, struct gfs2_inode **ipp)
 
int gfs2_make_fs_rw (struct gfs2_sbd *sdp)
 
void gfs2_online_uevent (struct gfs2_sbd *sdp)
 
int gfs2_statfs_init (struct gfs2_sbd *sdp)
 
void gfs2_statfs_change (struct gfs2_sbd *sdp, s64 total, s64 free, s64 dinodes)
 
void gfs2_statfs_change_in (struct gfs2_statfs_change_host *sc, const void *buf)
 
void update_statfs (struct gfs2_sbd *sdp, struct buffer_head *m_bh, struct buffer_head *l_bh)
 
int gfs2_statfs_sync (struct super_block *sb, int type)
 
int gfs2_freeze_fs (struct gfs2_sbd *sdp)
 
void gfs2_unfreeze_fs (struct gfs2_sbd *sdp)
 

Variables

struct file_system_type gfs2_fs_type
 
struct file_system_type gfs2meta_fs_type
 
struct export_operations gfs2_export_ops
 
struct super_operations gfs2_super_ops
 
struct dentry_operations gfs2_dops
 
struct xattr_handlergfs2_xattr_handlers []
 

Function Documentation

int gfs2_freeze_fs ( struct gfs2_sbd sdp)

gfs2_freeze_fs - freezes the file system : the file system

This function flushes data and meta data for all machines by acquiring the transaction log exclusively. All journals are ensured to be in a clean state as well.

Returns: errno

Definition at line 677 of file super.c.

int gfs2_jdesc_check ( struct gfs2_jdesc jd)

Definition at line 353 of file super.c.

struct gfs2_jdesc* gfs2_jdesc_find ( struct gfs2_sbd sdp,
unsigned int  jid 
)
read

Definition at line 342 of file super.c.

void gfs2_jindex_free ( struct gfs2_sbd sdp)

gfs2_jindex_free - Clear all the journal index information : The GFS2 superblock

Definition at line 296 of file super.c.

void gfs2_lm_unmount ( struct gfs2_sbd sdp)

Definition at line 1033 of file ops_fstype.c.

int gfs2_lookup_in_master_dir ( struct gfs2_sbd sdp,
char filename,
struct gfs2_inode **  ipp 
)
int gfs2_make_fs_rw ( struct gfs2_sbd sdp)

gfs2_make_fs_rw - Turn a Read-Only FS into a Read-Write one : the filesystem

Returns: errno

Definition at line 379 of file super.c.

int gfs2_mount_args ( struct gfs2_args args,
char options 
)

gfs2_mount_args - Parse mount options : The structure into which the parsed options will be written : The options to parse

Return: errno

Definition at line 133 of file super.c.

void gfs2_online_uevent ( struct gfs2_sbd sdp)

Definition at line 1057 of file ops_fstype.c.

void gfs2_statfs_change ( struct gfs2_sbd sdp,
s64  total,
s64  free,
s64  dinodes 
)

Definition at line 488 of file super.c.

void gfs2_statfs_change_in ( struct gfs2_statfs_change_host sc,
const void buf 
)

Definition at line 424 of file super.c.

int gfs2_statfs_init ( struct gfs2_sbd sdp)

Definition at line 442 of file super.c.

int gfs2_statfs_sync ( struct super_block sb,
int  type 
)

Definition at line 546 of file super.c.

void gfs2_unfreeze_fs ( struct gfs2_sbd sdp)

gfs2_unfreeze_fs - unfreezes the file system : the file system

This function allows the file system to proceed by unlocking the exclusively held transaction lock. Other GFS2 nodes are now free to acquire the lock shared and go on with their lives.

Definition at line 704 of file super.c.

void update_statfs ( struct gfs2_sbd sdp,
struct buffer_head *  m_bh,
struct buffer_head *  l_bh 
)

Definition at line 523 of file super.c.

Variable Documentation

Definition at line 136 of file dentry.c.

struct export_operations gfs2_export_ops

Definition at line 197 of file export.c.

struct file_system_type gfs2_fs_type

Definition at line 1418 of file ops_fstype.c.

struct super_operations gfs2_super_ops

Definition at line 1618 of file super.c.

struct xattr_handler* gfs2_xattr_handlers[]

Definition at line 1499 of file xattr.c.

struct file_system_type gfs2meta_fs_type

Definition at line 1426 of file ops_fstype.c.