ceph: hex dump corrupt server data to KERN_DEBUG
[linux-2.6-block.git] / fs / ceph / mon_client.c
index a76da5e6dbdd0016f0b0f67b239ef6983c7e2114..775a9c029c514d18b64d87dbd5855a6cfbefef8b 100644 (file)
@@ -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);
 }
 
 /*