diff options
Diffstat (limited to 'fs/xfs/xfs_log_recover.c')
-rw-r--r-- | fs/xfs/xfs_log_recover.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c index a17218e81536..f952f9dbf74a 100644 --- a/fs/xfs/xfs_log_recover.c +++ b/fs/xfs/xfs_log_recover.c | |||
@@ -193,14 +193,14 @@ xlog_header_check_dump( | |||
193 | { | 193 | { |
194 | int b; | 194 | int b; |
195 | 195 | ||
196 | printk("%s: SB : uuid = ", __FUNCTION__); | 196 | cmn_err(CE_DEBUG, "%s: SB : uuid = ", __FUNCTION__); |
197 | for (b = 0; b < 16; b++) | 197 | for (b = 0; b < 16; b++) |
198 | printk("%02x",((unsigned char *)&mp->m_sb.sb_uuid)[b]); | 198 | cmn_err(CE_DEBUG, "%02x", ((uchar_t *)&mp->m_sb.sb_uuid)[b]); |
199 | printk(", fmt = %d\n", XLOG_FMT); | 199 | cmn_err(CE_DEBUG, ", fmt = %d\n", XLOG_FMT); |
200 | printk(" log : uuid = "); | 200 | cmn_err(CE_DEBUG, " log : uuid = "); |
201 | for (b = 0; b < 16; b++) | 201 | for (b = 0; b < 16; b++) |
202 | printk("%02x",((unsigned char *)&head->h_fs_uuid)[b]); | 202 | cmn_err(CE_DEBUG, "%02x",((uchar_t *)&head->h_fs_uuid)[b]); |
203 | printk(", fmt = %d\n", INT_GET(head->h_fmt, ARCH_CONVERT)); | 203 | cmn_err(CE_DEBUG, ", fmt = %d\n", INT_GET(head->h_fmt, ARCH_CONVERT)); |
204 | } | 204 | } |
205 | #else | 205 | #else |
206 | #define xlog_header_check_dump(mp, head) | 206 | #define xlog_header_check_dump(mp, head) |
@@ -3444,13 +3444,13 @@ xlog_unpack_data_checksum( | |||
3444 | if (rhead->h_chksum || | 3444 | if (rhead->h_chksum || |
3445 | ((log->l_flags & XLOG_CHKSUM_MISMATCH) == 0)) { | 3445 | ((log->l_flags & XLOG_CHKSUM_MISMATCH) == 0)) { |
3446 | cmn_err(CE_DEBUG, | 3446 | cmn_err(CE_DEBUG, |
3447 | "XFS: LogR chksum mismatch: was (0x%x) is (0x%x)", | 3447 | "XFS: LogR chksum mismatch: was (0x%x) is (0x%x)\n", |
3448 | INT_GET(rhead->h_chksum, ARCH_CONVERT), chksum); | 3448 | INT_GET(rhead->h_chksum, ARCH_CONVERT), chksum); |
3449 | cmn_err(CE_DEBUG, | 3449 | cmn_err(CE_DEBUG, |
3450 | "XFS: Disregard message if filesystem was created with non-DEBUG kernel"); | 3450 | "XFS: Disregard message if filesystem was created with non-DEBUG kernel"); |
3451 | if (XFS_SB_VERSION_HASLOGV2(&log->l_mp->m_sb)) { | 3451 | if (XFS_SB_VERSION_HASLOGV2(&log->l_mp->m_sb)) { |
3452 | cmn_err(CE_DEBUG, | 3452 | cmn_err(CE_DEBUG, |
3453 | "XFS: LogR this is a LogV2 filesystem"); | 3453 | "XFS: LogR this is a LogV2 filesystem\n"); |
3454 | } | 3454 | } |
3455 | log->l_flags |= XLOG_CHKSUM_MISMATCH; | 3455 | log->l_flags |= XLOG_CHKSUM_MISMATCH; |
3456 | } | 3456 | } |
@@ -3999,7 +3999,7 @@ xlog_recover_finish( | |||
3999 | log->l_flags &= ~XLOG_RECOVERY_NEEDED; | 3999 | log->l_flags &= ~XLOG_RECOVERY_NEEDED; |
4000 | } else { | 4000 | } else { |
4001 | cmn_err(CE_DEBUG, | 4001 | cmn_err(CE_DEBUG, |
4002 | "!Ending clean XFS mount for filesystem: %s", | 4002 | "!Ending clean XFS mount for filesystem: %s\n", |
4003 | log->l_mp->m_fsname); | 4003 | log->l_mp->m_fsname); |
4004 | } | 4004 | } |
4005 | return 0; | 4005 | return 0; |