aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2009-12-14 21:01:10 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-15 11:53:33 -0500
commit03daa57cdb2198e36a41ca1f63a030759490363f (patch)
tree5b7b476b6f8f73bc9ad3a986430943ec3386e66a /fs
parent9ac6e44ee5caa5f0babfc87f2613e1296d2c2d11 (diff)
fs/xfs/xfs_log_recover.c: use %pU to print UUIDs
Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Alex Elder <aelder@sgi.com> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/xfs/xfs_log_recover.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c
index 1ec98ed914d4..9d4fdcaf897f 100644
--- a/fs/xfs/xfs_log_recover.c
+++ b/fs/xfs/xfs_log_recover.c
@@ -225,16 +225,10 @@ xlog_header_check_dump(
225 xfs_mount_t *mp, 225 xfs_mount_t *mp,
226 xlog_rec_header_t *head) 226 xlog_rec_header_t *head)
227{ 227{
228 int b; 228 cmn_err(CE_DEBUG, "%s: SB : uuid = %pU, fmt = %d\n",
229 229 __func__, &mp->m_sb.sb_uuid, XLOG_FMT);
230 cmn_err(CE_DEBUG, "%s: SB : uuid = ", __func__); 230 cmn_err(CE_DEBUG, " log : uuid = %pU, fmt = %d\n",
231 for (b = 0; b < 16; b++) 231 &head->h_fs_uuid, be32_to_cpu(head->h_fmt));
232 cmn_err(CE_DEBUG, "%02x", ((__uint8_t *)&mp->m_sb.sb_uuid)[b]);
233 cmn_err(CE_DEBUG, ", fmt = %d\n", XLOG_FMT);
234 cmn_err(CE_DEBUG, " log : uuid = ");
235 for (b = 0; b < 16; b++)
236 cmn_err(CE_DEBUG, "%02x", ((__uint8_t *)&head->h_fs_uuid)[b]);
237 cmn_err(CE_DEBUG, ", fmt = %d\n", be32_to_cpu(head->h_fmt));
238} 232}
239#else 233#else
240#define xlog_header_check_dump(mp, head) 234#define xlog_header_check_dump(mp, head)