diff options
author | Jan Kara <jack@suse.cz> | 2013-11-25 17:30:26 -0500 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2013-12-04 06:27:46 -0500 |
commit | 301d4c9a286bc7dc4fb3cda21131be91a582fa79 (patch) | |
tree | 0376fdc743ce2d403db16fb07dbcdc39e3310adb /fs/jbd/transaction.c | |
parent | df4e7ac0bb70abc97fbfd9ef09671fc084b3f9db (diff) |
jbd: Revise KERN_EMERG error messages
Some of KERN_EMERG printk messages do not really deserve this log level
and the one in log_wait_commit() is even rather useless (the journal has
been previously aborted and *that* is where we should have been
complaining). So make some messages just KERN_ERR and remove the useless
message.
Signed-off-by: Jan Kara <jack@suse.cz>
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 aa603e017d22..1695ba8334a2 100644 --- a/fs/jbd/transaction.c +++ b/fs/jbd/transaction.c | |||
@@ -675,7 +675,7 @@ repeat: | |||
675 | jbd_alloc(jh2bh(jh)->b_size, | 675 | jbd_alloc(jh2bh(jh)->b_size, |
676 | GFP_NOFS); | 676 | GFP_NOFS); |
677 | if (!frozen_buffer) { | 677 | if (!frozen_buffer) { |
678 | printk(KERN_EMERG | 678 | printk(KERN_ERR |
679 | "%s: OOM for frozen_buffer\n", | 679 | "%s: OOM for frozen_buffer\n", |
680 | __func__); | 680 | __func__); |
681 | JBUFFER_TRACE(jh, "oom!"); | 681 | JBUFFER_TRACE(jh, "oom!"); |
@@ -898,7 +898,7 @@ repeat: | |||
898 | if (!jh->b_committed_data) { | 898 | if (!jh->b_committed_data) { |
899 | committed_data = jbd_alloc(jh2bh(jh)->b_size, GFP_NOFS); | 899 | committed_data = jbd_alloc(jh2bh(jh)->b_size, GFP_NOFS); |
900 | if (!committed_data) { | 900 | if (!committed_data) { |
901 | printk(KERN_EMERG "%s: No memory for committed data\n", | 901 | printk(KERN_ERR "%s: No memory for committed data\n", |
902 | __func__); | 902 | __func__); |
903 | err = -ENOMEM; | 903 | err = -ENOMEM; |
904 | goto out; | 904 | goto out; |