diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-17 10:38:59 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-04-17 10:38:59 -0400 |
commit | 329d291f50d53f77d15769051f3eb494a9fd54b7 (patch) | |
tree | a6ba58859d4fa13e39d4b193c41147daaa750d4d /fs/jbd2/transaction.c | |
parent | 46e665e9d297525d286989640cf4247cbe941df6 (diff) |
jdb2: 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: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2/transaction.c')
-rw-r--r-- | fs/jbd2/transaction.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c index 401bf9d23656..d6e006e67804 100644 --- a/fs/jbd2/transaction.c +++ b/fs/jbd2/transaction.c | |||
@@ -696,7 +696,7 @@ repeat: | |||
696 | if (!frozen_buffer) { | 696 | if (!frozen_buffer) { |
697 | printk(KERN_EMERG | 697 | printk(KERN_EMERG |
698 | "%s: OOM for frozen_buffer\n", | 698 | "%s: OOM for frozen_buffer\n", |
699 | __FUNCTION__); | 699 | __func__); |
700 | JBUFFER_TRACE(jh, "oom!"); | 700 | JBUFFER_TRACE(jh, "oom!"); |
701 | error = -ENOMEM; | 701 | error = -ENOMEM; |
702 | jbd_lock_bh_state(bh); | 702 | jbd_lock_bh_state(bh); |
@@ -914,7 +914,7 @@ repeat: | |||
914 | committed_data = jbd2_alloc(jh2bh(jh)->b_size, GFP_NOFS); | 914 | committed_data = jbd2_alloc(jh2bh(jh)->b_size, GFP_NOFS); |
915 | if (!committed_data) { | 915 | if (!committed_data) { |
916 | printk(KERN_EMERG "%s: No memory for committed data\n", | 916 | printk(KERN_EMERG "%s: No memory for committed data\n", |
917 | __FUNCTION__); | 917 | __func__); |
918 | err = -ENOMEM; | 918 | err = -ENOMEM; |
919 | goto out; | 919 | goto out; |
920 | } | 920 | } |