ReactOS 0.4.16-dev-297-gc569aee
ext4_jbd2.c File Reference
#include "ext2fs.h"
#include "linux\ext4.h"
Include dependency graph for ext4_jbd2.c:

Go to the source code of this file.

Functions

handle_t__ext4_journal_start_sb (void *icb, struct super_block *sb, unsigned int line, int type, int blocks, int rsv_blocks)
 
int __ext4_journal_stop (const char *where, unsigned int line, void *icb, handle_t *handle)
 
void ext4_journal_abort_handle (const char *caller, unsigned int line, const char *err_fn, struct buffer_head *bh, handle_t *handle, int err)
 
int __ext4_journal_get_write_access (const char *where, unsigned int line, void *icb, handle_t *handle, struct buffer_head *bh)
 
int __ext4_forget (const char *where, unsigned int line, void *icb, handle_t *handle, int is_metadata, struct inode *inode, struct buffer_head *bh, ext4_fsblk_t blocknr)
 
int __ext4_journal_get_create_access (const char *where, unsigned int line, void *icb, handle_t *handle, struct buffer_head *bh)
 
int __ext4_handle_dirty_metadata (const char *where, unsigned int line, void *icb, handle_t *handle, struct inode *inode, struct buffer_head *bh)
 
int __ext4_handle_dirty_super (const char *where, unsigned int line, handle_t *handle, struct super_block *sb)
 

Variables

static handle_t no_journal
 

Function Documentation

◆ __ext4_forget()

int __ext4_forget ( const char where,
unsigned int  line,
void icb,
handle_t handle,
int  is_metadata,
struct inode inode,
struct buffer_head bh,
ext4_fsblk_t  blocknr 
)

Definition at line 46 of file ext4_jbd2.c.

49{
50 int err = 0;
51 return err;
52}
#define err(...)

◆ __ext4_handle_dirty_metadata()

int __ext4_handle_dirty_metadata ( const char where,
unsigned int  line,
void icb,
handle_t handle,
struct inode inode,
struct buffer_head bh 
)

Definition at line 61 of file ext4_jbd2.c.

64{
65 int err = 0;
66
68 return err;
69}
void extents_mark_buffer_dirty(struct buffer_head *bh)
Definition: ext4_bh.c:39

Referenced by __ext4_ext_dirty().

◆ __ext4_handle_dirty_super()

int __ext4_handle_dirty_super ( const char where,
unsigned int  line,
handle_t handle,
struct super_block sb 
)

Definition at line 71 of file ext4_jbd2.c.

73{
74 return 0;
75}

◆ __ext4_journal_get_create_access()

int __ext4_journal_get_create_access ( const char where,
unsigned int  line,
void icb,
handle_t handle,
struct buffer_head bh 
)

Definition at line 54 of file ext4_jbd2.c.

56{
57 int err = 0;
58 return err;
59}

◆ __ext4_journal_get_write_access()

int __ext4_journal_get_write_access ( const char where,
unsigned int  line,
void icb,
handle_t handle,
struct buffer_head bh 
)

Definition at line 27 of file ext4_jbd2.c.

29{
30 int err = 0;
31 return err;
32}

◆ __ext4_journal_start_sb()

handle_t * __ext4_journal_start_sb ( void icb,
struct super_block sb,
unsigned int  line,
int  type,
int  blocks,
int  rsv_blocks 
)

Definition at line 10 of file ext4_jbd2.c.

12{
13 return &no_journal;
14}
static handle_t no_journal
Definition: ext4_jbd2.c:8

Referenced by __ext4_journal_start().

◆ __ext4_journal_stop()

int __ext4_journal_stop ( const char where,
unsigned int  line,
void icb,
handle_t handle 
)

Definition at line 16 of file ext4_jbd2.c.

17{
18 return 0;
19}

◆ ext4_journal_abort_handle()

void ext4_journal_abort_handle ( const char caller,
unsigned int  line,
const char err_fn,
struct buffer_head bh,
handle_t handle,
int  err 
)

Definition at line 21 of file ext4_jbd2.c.

24{
25}

Variable Documentation

◆ no_journal

handle_t no_journal
static

Definition at line 8 of file ext4_jbd2.c.

Referenced by __ext4_journal_start_sb().