@@ -491,7 +491,7 @@ int __jbd2_log_start_commit(journal_t *journal, tid_t target)
491491 */
492492
493493 journal -> j_commit_request = target ;
494- jbd_debug (1 , "JBD : requesting commit %d/%d\n" ,
494+ jbd_debug (1 , "JBD2 : requesting commit %d/%d\n" ,
495495 journal -> j_commit_request ,
496496 journal -> j_commit_sequence );
497497 wake_up (& journal -> j_wait_commit );
@@ -500,7 +500,7 @@ int __jbd2_log_start_commit(journal_t *journal, tid_t target)
500500 /* This should never happen, but if it does, preserve
501501 the evidence before kjournald goes into a loop and
502502 increments j_commit_sequence beyond all recognition. */
503- WARN_ONCE (1 , "jbd : bad log_start_commit: %u %u %u %u\n" ,
503+ WARN_ONCE (1 , "JBD2 : bad log_start_commit: %u %u %u %u\n" ,
504504 journal -> j_commit_request ,
505505 journal -> j_commit_sequence ,
506506 target , journal -> j_running_transaction ?
@@ -645,7 +645,7 @@ int jbd2_log_wait_commit(journal_t *journal, tid_t tid)
645645 }
646646#endif
647647 while (tid_gt (tid , journal -> j_commit_sequence )) {
648- jbd_debug (1 , "JBD : want %d, j_commit_sequence=%d\n" ,
648+ jbd_debug (1 , "JBD2 : want %d, j_commit_sequence=%d\n" ,
649649 tid , journal -> j_commit_sequence );
650650 wake_up (& journal -> j_wait_commit );
651651 read_unlock (& journal -> j_state_lock );
@@ -1093,7 +1093,7 @@ static int journal_reset(journal_t *journal)
10931093 first = be32_to_cpu (sb -> s_first );
10941094 last = be32_to_cpu (sb -> s_maxlen );
10951095 if (first + JBD2_MIN_JOURNAL_BLOCKS > last + 1 ) {
1096- printk (KERN_ERR "JBD : Journal too short (blocks %llu-%llu).\n" ,
1096+ printk (KERN_ERR "JBD2 : Journal too short (blocks %llu-%llu).\n" ,
10971097 first , last );
10981098 journal_fail_superblock (journal );
10991099 return - EINVAL ;
@@ -1139,7 +1139,7 @@ void jbd2_journal_update_superblock(journal_t *journal, int wait)
11391139 */
11401140 if (sb -> s_start == 0 && journal -> j_tail_sequence ==
11411141 journal -> j_transaction_sequence ) {
1142- jbd_debug (1 ,"JBD : Skipping superblock update on recovered sb "
1142+ jbd_debug (1 , "JBD2 : Skipping superblock update on recovered sb "
11431143 "(start %ld, seq %d, errno %d)\n" ,
11441144 journal -> j_tail , journal -> j_tail_sequence ,
11451145 journal -> j_errno );
@@ -1163,7 +1163,7 @@ void jbd2_journal_update_superblock(journal_t *journal, int wait)
11631163 }
11641164
11651165 read_lock (& journal -> j_state_lock );
1166- jbd_debug (1 ,"JBD : updating superblock (start %ld, seq %d, errno %d)\n" ,
1166+ jbd_debug (1 , "JBD2 : updating superblock (start %ld, seq %d, errno %d)\n" ,
11671167 journal -> j_tail , journal -> j_tail_sequence , journal -> j_errno );
11681168
11691169 sb -> s_sequence = cpu_to_be32 (journal -> j_tail_sequence );
@@ -1216,8 +1216,8 @@ static int journal_get_superblock(journal_t *journal)
12161216 ll_rw_block (READ , 1 , & bh );
12171217 wait_on_buffer (bh );
12181218 if (!buffer_uptodate (bh )) {
1219- printk (KERN_ERR
1220- "JBD : IO error reading journal superblock\n" );
1219+ printk (KERN_ERR
1220+ "JBD2 : IO error reading journal superblock\n" );
12211221 goto out ;
12221222 }
12231223 }
@@ -1228,7 +1228,7 @@ static int journal_get_superblock(journal_t *journal)
12281228
12291229 if (sb -> s_header .h_magic != cpu_to_be32 (JBD2_MAGIC_NUMBER ) ||
12301230 sb -> s_blocksize != cpu_to_be32 (journal -> j_blocksize )) {
1231- printk (KERN_WARNING "JBD : no valid journal superblock found\n" );
1231+ printk (KERN_WARNING "JBD2 : no valid journal superblock found\n" );
12321232 goto out ;
12331233 }
12341234
@@ -1240,14 +1240,14 @@ static int journal_get_superblock(journal_t *journal)
12401240 journal -> j_format_version = 2 ;
12411241 break ;
12421242 default :
1243- printk (KERN_WARNING "JBD : unrecognised superblock format ID\n" );
1243+ printk (KERN_WARNING "JBD2 : unrecognised superblock format ID\n" );
12441244 goto out ;
12451245 }
12461246
12471247 if (be32_to_cpu (sb -> s_maxlen ) < journal -> j_maxlen )
12481248 journal -> j_maxlen = be32_to_cpu (sb -> s_maxlen );
12491249 else if (be32_to_cpu (sb -> s_maxlen ) > journal -> j_maxlen ) {
1250- printk (KERN_WARNING "JBD : journal file too short\n" );
1250+ printk (KERN_WARNING "JBD2 : journal file too short\n" );
12511251 goto out ;
12521252 }
12531253
@@ -1318,8 +1318,8 @@ int jbd2_journal_load(journal_t *journal)
13181318 ~cpu_to_be32 (JBD2_KNOWN_ROCOMPAT_FEATURES )) ||
13191319 (sb -> s_feature_incompat &
13201320 ~cpu_to_be32 (JBD2_KNOWN_INCOMPAT_FEATURES ))) {
1321- printk (KERN_WARNING
1322- "JBD : Unrecognised features on journal\n" );
1321+ printk (KERN_WARNING
1322+ "JBD2 : Unrecognised features on journal\n" );
13231323 return - EINVAL ;
13241324 }
13251325 }
@@ -1354,7 +1354,7 @@ int jbd2_journal_load(journal_t *journal)
13541354 return 0 ;
13551355
13561356recovery_error :
1357- printk (KERN_WARNING "JBD : recovery failed\n" );
1357+ printk (KERN_WARNING "JBD2 : recovery failed\n" );
13581358 return - EIO ;
13591359}
13601360
@@ -1585,7 +1585,7 @@ static int journal_convert_superblock_v1(journal_t *journal,
15851585 struct buffer_head * bh ;
15861586
15871587 printk (KERN_WARNING
1588- "JBD : Converting superblock from version 1 to 2.\n" );
1588+ "JBD2 : Converting superblock from version 1 to 2.\n" );
15891589
15901590 /* Pre-initialise new fields to zero */
15911591 offset = ((char * ) & (sb -> s_feature_compat )) - ((char * ) sb );
@@ -1702,7 +1702,7 @@ int jbd2_journal_wipe(journal_t *journal, int write)
17021702 if (!journal -> j_tail )
17031703 goto no_recovery ;
17041704
1705- printk (KERN_WARNING "JBD : %s recovery information on journal\n" ,
1705+ printk (KERN_WARNING "JBD2 : %s recovery information on journal\n" ,
17061706 write ? "Clearing" : "Ignoring" );
17071707
17081708 err = jbd2_journal_skip_recovery (journal );
@@ -2028,7 +2028,7 @@ static int journal_init_jbd2_journal_head_cache(void)
20282028 retval = 0 ;
20292029 if (!jbd2_journal_head_cache ) {
20302030 retval = - ENOMEM ;
2031- printk (KERN_EMERG "JBD : no memory for journal_head cache\n" );
2031+ printk (KERN_EMERG "JBD2 : no memory for journal_head cache\n" );
20322032 }
20332033 return retval ;
20342034}
@@ -2391,7 +2391,7 @@ static void __exit journal_exit(void)
23912391#ifdef CONFIG_JBD2_DEBUG
23922392 int n = atomic_read (& nr_journal_heads );
23932393 if (n )
2394- printk (KERN_EMERG "JBD : leaked %d journal_heads!\n" , n );
2394+ printk (KERN_EMERG "JBD2 : leaked %d journal_heads!\n" , n );
23952395#endif
23962396 jbd2_remove_debugfs_entry ();
23972397 jbd2_remove_jbd_stats_proc_entry ();
0 commit comments