aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/mon_client.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-12-14 18:13:47 -0500
committerSage Weil <sage@newdream.net>2009-12-21 19:39:52 -0500
commit9ec7cab14e6de732d4e7c355fe67c5810c32c758 (patch)
tree2f512034bc7db2b4ca8fe47ceea06ac99a8cab40 /fs/ceph/mon_client.c
parent93c20d98c29ccefa039c3843ccc37122caaf3d31 (diff)
ceph: hex dump corrupt server data to KERN_DEBUG
Also, print fsid using standard format, NOT hex dump. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/mon_client.c')
-rw-r--r--fs/ceph/mon_client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ceph/mon_client.c b/fs/ceph/mon_client.c
index a76da5e6dbdd..775a9c029c51 100644
--- a/fs/ceph/mon_client.c
+++ b/fs/ceph/mon_client.c
@@ -242,6 +242,7 @@ static void handle_subscribe_ack(struct ceph_mon_client *monc,
242 return; 242 return;
243bad: 243bad:
244 pr_err("got corrupt subscribe-ack msg\n"); 244 pr_err("got corrupt subscribe-ack msg\n");
245 ceph_msg_dump(msg);
245} 246}
246 247
247/* 248/*
@@ -364,6 +365,7 @@ static void handle_statfs_reply(struct ceph_mon_client *monc,
364 365
365bad: 366bad:
366 pr_err("corrupt statfs reply, no tid\n"); 367 pr_err("corrupt statfs reply, no tid\n");
368 ceph_msg_dump(msg);
367} 369}
368 370
369/* 371/*