ext4: clean up ext4_abort() so __func__ is now implicit

Use a macro definition for ext4_abort() to clean up the .c files a wee
bit.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
This commit is contained in:
Theodore Ts'o
2010-06-29 11:07:07 -04:00
parent 4a9cdec73f
commit c67d859e39
3 changed files with 10 additions and 9 deletions

View File

@ -93,8 +93,8 @@ int __ext4_forget(const char *where, handle_t *handle, int is_metadata,
err = jbd2_journal_revoke(handle, blocknr, bh);
if (err) {
ext4_journal_abort_handle(where, __func__, bh, handle, err);
ext4_abort(inode->i_sb, __func__,
"error %d when attempting revoke", err);
__ext4_abort(inode->i_sb, where,
"error %d when attempting revoke", err);
}
BUFFER_TRACE(bh, "exit");
return err;