diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-28 05:16:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 11:58:45 -0400 |
commit | 08fc99bfc39d5b394aa27498ac5f14df0ef8e52a (patch) | |
tree | 3749ce01f8cb60e3cf08c95f3f4076e21ad62ee7 /fs/jbd/transaction.c | |
parent | e05b6b524bd5c5c2bae1b64a7cbe08d46d57a6fe (diff) |
jbd: 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/jbd/transaction.c')
-rw-r--r-- | fs/jbd/transaction.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jbd/transaction.c b/fs/jbd/transaction.c index d8dd3d915fd9..67ff2024c23c 100644 --- a/fs/jbd/transaction.c +++ b/fs/jbd/transaction.c | |||
@@ -687,7 +687,7 @@ repeat: | |||
687 | if (!frozen_buffer) { | 687 | if (!frozen_buffer) { |
688 | printk(KERN_EMERG | 688 | printk(KERN_EMERG |
689 | "%s: OOM for frozen_buffer\n", | 689 | "%s: OOM for frozen_buffer\n", |
690 | __FUNCTION__); | 690 | __func__); |
691 | JBUFFER_TRACE(jh, "oom!"); | 691 | JBUFFER_TRACE(jh, "oom!"); |
692 | error = -ENOMEM; | 692 | error = -ENOMEM; |
693 | jbd_lock_bh_state(bh); | 693 | jbd_lock_bh_state(bh); |
@@ -904,7 +904,7 @@ repeat: | |||
904 | committed_data = jbd_alloc(jh2bh(jh)->b_size, GFP_NOFS); | 904 | committed_data = jbd_alloc(jh2bh(jh)->b_size, GFP_NOFS); |
905 | if (!committed_data) { | 905 | if (!committed_data) { |
906 | printk(KERN_EMERG "%s: No memory for committed data\n", | 906 | printk(KERN_EMERG "%s: No memory for committed data\n", |
907 | __FUNCTION__); | 907 | __func__); |
908 | err = -ENOMEM; | 908 | err = -ENOMEM; |
909 | goto out; | 909 | goto out; |
910 | } | 910 | } |