diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-28 05:16:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 11:58:45 -0400 |
commit | e05b6b524bd5c5c2bae1b64a7cbe08d46d57a6fe (patch) | |
tree | e5b5a7dbc57ccf8f6e425b7cb77249fdc534baca /fs/ext3/inode.c | |
parent | fa1ff1e02fee908dfdc3f92902d39acc38041e4c (diff) |
ext3: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ext3/inode.c')
-rw-r--r-- | fs/ext3/inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext3/inode.c b/fs/ext3/inode.c index e2acbc7a3c3f..cc47b76091bf 100644 --- a/fs/ext3/inode.c +++ b/fs/ext3/inode.c | |||
@@ -95,7 +95,7 @@ int ext3_forget(handle_t *handle, int is_metadata, struct inode *inode, | |||
95 | BUFFER_TRACE(bh, "call ext3_journal_revoke"); | 95 | BUFFER_TRACE(bh, "call ext3_journal_revoke"); |
96 | err = ext3_journal_revoke(handle, blocknr, bh); | 96 | err = ext3_journal_revoke(handle, blocknr, bh); |
97 | if (err) | 97 | if (err) |
98 | ext3_abort(inode->i_sb, __FUNCTION__, | 98 | ext3_abort(inode->i_sb, __func__, |
99 | "error %d when attempting revoke", err); | 99 | "error %d when attempting revoke", err); |
100 | BUFFER_TRACE(bh, "exit"); | 100 | BUFFER_TRACE(bh, "exit"); |
101 | return err; | 101 | return err; |
@@ -1190,7 +1190,7 @@ int ext3_journal_dirty_data(handle_t *handle, struct buffer_head *bh) | |||
1190 | { | 1190 | { |
1191 | int err = journal_dirty_data(handle, bh); | 1191 | int err = journal_dirty_data(handle, bh); |
1192 | if (err) | 1192 | if (err) |
1193 | ext3_journal_abort_handle(__FUNCTION__, __FUNCTION__, | 1193 | ext3_journal_abort_handle(__func__, __func__, |
1194 | bh, handle, err); | 1194 | bh, handle, err); |
1195 | return err; | 1195 | return err; |
1196 | } | 1196 | } |
@@ -3201,7 +3201,7 @@ void ext3_dirty_inode(struct inode *inode) | |||
3201 | current_handle->h_transaction != handle->h_transaction) { | 3201 | current_handle->h_transaction != handle->h_transaction) { |
3202 | /* This task has a transaction open against a different fs */ | 3202 | /* This task has a transaction open against a different fs */ |
3203 | printk(KERN_EMERG "%s: transactions do not match!\n", | 3203 | printk(KERN_EMERG "%s: transactions do not match!\n", |
3204 | __FUNCTION__); | 3204 | __func__); |
3205 | } else { | 3205 | } else { |
3206 | jbd_debug(5, "marking dirty. outer handle=%p\n", | 3206 | jbd_debug(5, "marking dirty. outer handle=%p\n", |
3207 | current_handle); | 3207 | current_handle); |