summaryrefslogtreecommitdiffstats
path: root/fs/ceph/mon_client.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-12-14 15:13:47 -0800
committerSage Weil <sage@newdream.net>2009-12-21 16:39:52 -0800
commit9ec7cab14e6de732d4e7c355fe67c5810c32c758 (patch)
tree2f512034bc7db2b4ca8fe47ceea06ac99a8cab40 /fs/ceph/mon_client.c
parent93c20d98c29ccefa039c3843ccc37122caaf3d31 (diff)
downloadblackbird-op-linux-9ec7cab14e6de732d4e7c355fe67c5810c32c758.tar.gz
blackbird-op-linux-9ec7cab14e6de732d4e7c355fe67c5810c32c758.zip
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,
return;
bad:
pr_err("got corrupt subscribe-ack msg\n");
+ ceph_msg_dump(msg);
}
/*
@@ -364,6 +365,7 @@ static void handle_statfs_reply(struct ceph_mon_client *monc,
bad:
pr_err("corrupt statfs reply, no tid\n");
+ ceph_msg_dump(msg);
}
/*
OpenPOWER on IntegriCloud