Skip to content

Commit a67c848

Browse files
Dmitry Monakhovtytso
authored andcommitted
jbd2: rename obsoleted msg JBD->JBD2
Rename performed via: perl -pi -e 's/JBD:/JBD2:/g' fs/jbd2/*.c Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
1 parent 7568507 commit a67c848

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎fs/jbd2/journal.c‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1525,21 +1525,21 @@ static int journal_get_superblock(journal_t *journal)
15251525
if (JBD2_HAS_COMPAT_FEATURE(journal, JBD2_FEATURE_COMPAT_CHECKSUM) &&
15261526
JBD2_HAS_INCOMPAT_FEATURE(journal, JBD2_FEATURE_INCOMPAT_CSUM_V2)) {
15271527
/* Can't have checksum v1 and v2 on at the same time! */
1528-
printk(KERN_ERR "JBD: Can't enable checksumming v1 and v2 "
1528+
printk(KERN_ERR "JBD2: Can't enable checksumming v1 and v2 "
15291529
"at the same time!\n");
15301530
goto out;
15311531
}
15321532

15331533
if (!jbd2_verify_csum_type(journal, sb)) {
1534-
printk(KERN_ERR "JBD: Unknown checksum type\n");
1534+
printk(KERN_ERR "JBD2: Unknown checksum type\n");
15351535
goto out;
15361536
}
15371537

15381538
/* Load the checksum driver */
15391539
if (JBD2_HAS_INCOMPAT_FEATURE(journal, JBD2_FEATURE_INCOMPAT_CSUM_V2)) {
15401540
journal->j_chksum_driver = crypto_alloc_shash("crc32c", 0, 0);
15411541
if (IS_ERR(journal->j_chksum_driver)) {
1542-
printk(KERN_ERR "JBD: Cannot load crc32c driver.\n");
1542+
printk(KERN_ERR "JBD2: Cannot load crc32c driver.\n");
15431543
err = PTR_ERR(journal->j_chksum_driver);
15441544
journal->j_chksum_driver = NULL;
15451545
goto out;
@@ -1548,7 +1548,7 @@ static int journal_get_superblock(journal_t *journal)
15481548

15491549
/* Check superblock checksum */
15501550
if (!jbd2_superblock_csum_verify(journal, sb)) {
1551-
printk(KERN_ERR "JBD: journal checksum error\n");
1551+
printk(KERN_ERR "JBD2: journal checksum error\n");
15521552
goto out;
15531553
}
15541554

@@ -1834,7 +1834,7 @@ int jbd2_journal_set_features (journal_t *journal, unsigned long compat,
18341834
journal->j_chksum_driver = crypto_alloc_shash("crc32c",
18351835
0, 0);
18361836
if (IS_ERR(journal->j_chksum_driver)) {
1837-
printk(KERN_ERR "JBD: Cannot load crc32c "
1837+
printk(KERN_ERR "JBD2: Cannot load crc32c "
18381838
"driver.\n");
18391839
journal->j_chksum_driver = NULL;
18401840
return 0;

‎fs/jbd2/recovery.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ static int do_one_pass(journal_t *journal,
594594
be32_to_cpu(tmp->h_sequence))) {
595595
brelse(obh);
596596
success = -EIO;
597-
printk(KERN_ERR "JBD: Invalid "
597+
printk(KERN_ERR "JBD2: Invalid "
598598
"checksum recovering "
599599
"block %llu in log\n",
600600
blocknr);

‎fs/jbd2/transaction.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,7 +1308,7 @@ int jbd2_journal_dirty_metadata(handle_t *handle, struct buffer_head *bh)
13081308
JBUFFER_TRACE(jh, "fastpath");
13091309
if (unlikely(jh->b_transaction !=
13101310
journal->j_running_transaction)) {
1311-
printk(KERN_ERR "JBD: %s: "
1311+
printk(KERN_ERR "JBD2: %s: "
13121312
"jh->b_transaction (%llu, %p, %u) != "
13131313
"journal->j_running_transaction (%p, %u)",
13141314
journal->j_devname,
@@ -1335,7 +1335,7 @@ int jbd2_journal_dirty_metadata(handle_t *handle, struct buffer_head *bh)
13351335
JBUFFER_TRACE(jh, "already on other transaction");
13361336
if (unlikely(jh->b_transaction !=
13371337
journal->j_committing_transaction)) {
1338-
printk(KERN_ERR "JBD: %s: "
1338+
printk(KERN_ERR "JBD2: %s: "
13391339
"jh->b_transaction (%llu, %p, %u) != "
13401340
"journal->j_committing_transaction (%p, %u)",
13411341
journal->j_devname,
@@ -1348,7 +1348,7 @@ int jbd2_journal_dirty_metadata(handle_t *handle, struct buffer_head *bh)
13481348
ret = -EINVAL;
13491349
}
13501350
if (unlikely(jh->b_next_transaction != transaction)) {
1351-
printk(KERN_ERR "JBD: %s: "
1351+
printk(KERN_ERR "JBD2: %s: "
13521352
"jh->b_next_transaction (%llu, %p, %u) != "
13531353
"transaction (%p, %u)",
13541354
journal->j_devname,

0 commit comments

Comments
 (0)