-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 42828 b: refs/heads/master c: 3a229b3 h: refs/heads/master v: v3
- Loading branch information
Andrew Morton
authored and
Linus Torvalds
committed
Dec 7, 2006
1 parent
3dedb9f
commit e4ae101
Showing
4 changed files
with
78 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 072330584404392dae44cd0793ac9b316cff045b | ||
refs/heads/master: 3a229b39eb8497ae5f8077f81f7c8c3e1aacd624 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/* | ||
* Interface between ext3 and JBD | ||
*/ | ||
|
||
#include <linux/ext3_jbd.h> | ||
|
||
int __ext3_journal_get_undo_access(const char *where, handle_t *handle, | ||
struct buffer_head *bh) | ||
{ | ||
int err = journal_get_undo_access(handle, bh); | ||
if (err) | ||
ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err); | ||
return err; | ||
} | ||
|
||
int __ext3_journal_get_write_access(const char *where, handle_t *handle, | ||
struct buffer_head *bh) | ||
{ | ||
int err = journal_get_write_access(handle, bh); | ||
if (err) | ||
ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err); | ||
return err; | ||
} | ||
|
||
int __ext3_journal_forget(const char *where, handle_t *handle, | ||
struct buffer_head *bh) | ||
{ | ||
int err = journal_forget(handle, bh); | ||
if (err) | ||
ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err); | ||
return err; | ||
} | ||
|
||
int __ext3_journal_revoke(const char *where, handle_t *handle, | ||
unsigned long blocknr, struct buffer_head *bh) | ||
{ | ||
int err = journal_revoke(handle, blocknr, bh); | ||
if (err) | ||
ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err); | ||
return err; | ||
} | ||
|
||
int __ext3_journal_get_create_access(const char *where, | ||
handle_t *handle, struct buffer_head *bh) | ||
{ | ||
int err = journal_get_create_access(handle, bh); | ||
if (err) | ||
ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err); | ||
return err; | ||
} | ||
|
||
int __ext3_journal_dirty_metadata(const char *where, | ||
handle_t *handle, struct buffer_head *bh) | ||
{ | ||
int err = journal_dirty_metadata(handle, bh); | ||
if (err) | ||
ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err); | ||
return err; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters