aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/journal.c
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2006-03-03 13:24:33 -0500
committerMark Fasheh <mark.fasheh@oracle.com>2006-03-24 17:58:28 -0500
commitb0697053f9e8de9cea3d510d9e290851ece9460b (patch)
treebcfa2ae33e4a5302ddbe94dec0eaf95013e79850 /fs/ocfs2/journal.c
parent29004858a76ba9e26393dd8a85e653f105a33753 (diff)
ocfs2: don't use MLF* in the file system
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/journal.c')
-rw-r--r--fs/ocfs2/journal.c27
1 files changed, 14 insertions, 13 deletions
diff --git a/fs/ocfs2/journal.c b/fs/ocfs2/journal.c
index 4be801f4559b..ae3440ca083c 100644
--- a/fs/ocfs2/journal.c
+++ b/fs/ocfs2/journal.c
@@ -503,8 +503,8 @@ static void ocfs2_handle_cleanup_locks(struct ocfs2_journal *journal,
503 ocfs2_meta_unlock(inode, 1); 503 ocfs2_meta_unlock(inode, 1);
504 if (atomic_read(&inode->i_count) == 1) 504 if (atomic_read(&inode->i_count) == 1)
505 mlog(ML_ERROR, 505 mlog(ML_ERROR,
506 "Inode %"MLFu64", I'm doing a last iput for!", 506 "Inode %llu, I'm doing a last iput for!",
507 OCFS2_I(inode)->ip_blkno); 507 (unsigned long long)OCFS2_I(inode)->ip_blkno);
508 iput(inode); 508 iput(inode);
509 kmem_cache_free(ocfs2_lock_cache, lock); 509 kmem_cache_free(ocfs2_lock_cache, lock);
510 } 510 }
@@ -640,8 +640,9 @@ static int ocfs2_journal_toggle_dirty(struct ocfs2_super *osb,
640 /* This is called from startup/shutdown which will 640 /* This is called from startup/shutdown which will
641 * handle the errors in a specific manner, so no need 641 * handle the errors in a specific manner, so no need
642 * to call ocfs2_error() here. */ 642 * to call ocfs2_error() here. */
643 mlog(ML_ERROR, "Journal dinode %"MLFu64" has invalid " 643 mlog(ML_ERROR, "Journal dinode %llu has invalid "
644 "signature: %.*s", fe->i_blkno, 7, fe->i_signature); 644 "signature: %.*s", (unsigned long long)fe->i_blkno, 7,
645 fe->i_signature);
645 status = -EIO; 646 status = -EIO;
646 goto out; 647 goto out;
647 } 648 }
@@ -934,8 +935,8 @@ void ocfs2_complete_recovery(void *data)
934 935
935 la_dinode = item->lri_la_dinode; 936 la_dinode = item->lri_la_dinode;
936 if (la_dinode) { 937 if (la_dinode) {
937 mlog(0, "Clean up local alloc %"MLFu64"\n", 938 mlog(0, "Clean up local alloc %llu\n",
938 la_dinode->i_blkno); 939 (unsigned long long)la_dinode->i_blkno);
939 940
940 ret = ocfs2_complete_local_alloc_recovery(osb, 941 ret = ocfs2_complete_local_alloc_recovery(osb,
941 la_dinode); 942 la_dinode);
@@ -947,8 +948,8 @@ void ocfs2_complete_recovery(void *data)
947 948
948 tl_dinode = item->lri_tl_dinode; 949 tl_dinode = item->lri_tl_dinode;
949 if (tl_dinode) { 950 if (tl_dinode) {
950 mlog(0, "Clean up truncate log %"MLFu64"\n", 951 mlog(0, "Clean up truncate log %llu\n",
951 tl_dinode->i_blkno); 952 (unsigned long long)tl_dinode->i_blkno);
952 953
953 ret = ocfs2_complete_truncate_log_recovery(osb, 954 ret = ocfs2_complete_truncate_log_recovery(osb,
954 tl_dinode); 955 tl_dinode);
@@ -1473,11 +1474,11 @@ static int ocfs2_queue_orphans(struct ocfs2_super *osb,
1473 if (de->file_type > OCFS2_FT_MAX) { 1474 if (de->file_type > OCFS2_FT_MAX) {
1474 mlog(ML_ERROR, 1475 mlog(ML_ERROR,
1475 "block %llu contains invalid de: " 1476 "block %llu contains invalid de: "
1476 "inode = %"MLFu64", rec_len = %u, " 1477 "inode = %llu, rec_len = %u, "
1477 "name_len = %u, file_type = %u, " 1478 "name_len = %u, file_type = %u, "
1478 "name='%.*s'\n", 1479 "name='%.*s'\n",
1479 (unsigned long long)bh->b_blocknr, 1480 (unsigned long long)bh->b_blocknr,
1480 le64_to_cpu(de->inode), 1481 (unsigned long long)le64_to_cpu(de->inode),
1481 le16_to_cpu(de->rec_len), 1482 le16_to_cpu(de->rec_len),
1482 de->name_len, 1483 de->name_len,
1483 de->file_type, 1484 de->file_type,
@@ -1494,8 +1495,8 @@ static int ocfs2_queue_orphans(struct ocfs2_super *osb,
1494 if (IS_ERR(iter)) 1495 if (IS_ERR(iter))
1495 continue; 1496 continue;
1496 1497
1497 mlog(0, "queue orphan %"MLFu64"\n", 1498 mlog(0, "queue orphan %llu\n",
1498 OCFS2_I(iter)->ip_blkno); 1499 (unsigned long long)OCFS2_I(iter)->ip_blkno);
1499 /* No locking is required for the next_orphan 1500 /* No locking is required for the next_orphan
1500 * queue as there is only ever a single 1501 * queue as there is only ever a single
1501 * process doing orphan recovery. */ 1502 * process doing orphan recovery. */
@@ -1588,7 +1589,7 @@ static int ocfs2_recover_orphans(struct ocfs2_super *osb,
1588 1589
1589 while (inode) { 1590 while (inode) {
1590 oi = OCFS2_I(inode); 1591 oi = OCFS2_I(inode);
1591 mlog(0, "iput orphan %"MLFu64"\n", oi->ip_blkno); 1592 mlog(0, "iput orphan %llu\n", (unsigned long long)oi->ip_blkno);
1592 1593
1593 iter = oi->ip_next_orphan; 1594 iter = oi->ip_next_orphan;
1594 1595