diff options
author | Eryu Guan <guaneryu@gmail.com> | 2011-11-01 19:09:18 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-11-01 19:09:18 -0400 |
commit | f2a44523b20f323e4aef7c16261d34d6f0a4bf06 (patch) | |
tree | b7b46aefb3c91ab9f5462bd990ba02523c60ba96 /fs/jbd2/transaction.c | |
parent | 8762202dd0d6e46854f786bdb6fb3780a1625efe (diff) | |
download | op-kernel-dev-f2a44523b20f323e4aef7c16261d34d6f0a4bf06.zip op-kernel-dev-f2a44523b20f323e4aef7c16261d34d6f0a4bf06.tar.gz |
jbd2: Unify log messages in jbd2 code
Some jbd2 code prints out kernel messages with "JBD2: " prefix, at the
same time other jbd2 code prints with "JBD: " prefix. Unify the prefix
to "JBD2: ".
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
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 1e5c5ea..a0e41a4 100644 --- a/fs/jbd2/transaction.c +++ b/fs/jbd2/transaction.c @@ -125,7 +125,7 @@ static int start_this_handle(journal_t *journal, handle_t *handle, unsigned long ts = jiffies; if (nblocks > journal->j_max_transaction_buffers) { - printk(KERN_ERR "JBD: %s wants too many credits (%d > %d)\n", + printk(KERN_ERR "JBD2: %s wants too many credits (%d > %d)\n", current->comm, nblocks, journal->j_max_transaction_buffers); return -ENOSPC; @@ -564,7 +564,7 @@ static void warn_dirty_buffer(struct buffer_head *bh) char b[BDEVNAME_SIZE]; printk(KERN_WARNING - "JBD: Spotted dirty metadata buffer (dev = %s, blocknr = %llu). " + "JBD2: Spotted dirty metadata buffer (dev = %s, blocknr = %llu). " "There's a risk of filesystem corruption in case of system " "crash.\n", bdevname(bh->b_bdev, b), (unsigned long long)bh->b_blocknr); |