ReactOS  0.4.14-dev-376-gaedba84
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 42 of file ext4_jbd2.c.

45 {
46  int err = 0;
47  return err;
48 }
#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 57 of file ext4_jbd2.c.

60 {
61  int err = 0;
62 
64  return err;
65 }
void extents_mark_buffer_dirty(struct buffer_head *bh)
Definition: ext4_bh.c:39
#define err(...)

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 67 of file ext4_jbd2.c.

69 {
70  return 0;
71 }

◆ __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 50 of file ext4_jbd2.c.

52 {
53  int err = 0;
54  return err;
55 }
#define err(...)

◆ __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 23 of file ext4_jbd2.c.

25 {
26  int err = 0;
27  return err;
28 }
#define err(...)

◆ __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 6 of file ext4_jbd2.c.

8 {
9  return &no_journal;
10 }
static handle_t no_journal
Definition: ext4_jbd2.c:4

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 12 of file ext4_jbd2.c.

13 {
14  return 0;
15 }

◆ 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 17 of file ext4_jbd2.c.

20 {
21 }

Variable Documentation

◆ no_journal

handle_t no_journal
static

Definition at line 4 of file ext4_jbd2.c.

Referenced by __ext4_journal_start_sb().