diff options
author | Sage Weil <sage@newdream.net> | 2009-12-14 18:13:47 -0500 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2009-12-21 19:39:52 -0500 |
commit | 9ec7cab14e6de732d4e7c355fe67c5810c32c758 (patch) | |
tree | 2f512034bc7db2b4ca8fe47ceea06ac99a8cab40 /fs/ceph/super.c | |
parent | 93c20d98c29ccefa039c3843ccc37122caaf3d31 (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/super.c')
-rw-r--r-- | fs/ceph/super.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/fs/ceph/super.c b/fs/ceph/super.c index a828943296c5..6d02a166f8ff 100644 --- a/fs/ceph/super.c +++ b/fs/ceph/super.c | |||
@@ -602,13 +602,8 @@ int ceph_check_fsid(struct ceph_client *client, struct ceph_fsid *fsid) | |||
602 | { | 602 | { |
603 | if (client->have_fsid) { | 603 | if (client->have_fsid) { |
604 | if (ceph_fsid_compare(&client->fsid, fsid)) { | 604 | if (ceph_fsid_compare(&client->fsid, fsid)) { |
605 | print_hex_dump(KERN_ERR, "this fsid: ", | 605 | pr_err("bad fsid, had " FSID_FORMAT " got " FSID_FORMAT, |
606 | DUMP_PREFIX_NONE, 16, 1, | 606 | PR_FSID(&client->fsid), PR_FSID(fsid)); |
607 | (void *)fsid, 16, 0); | ||
608 | print_hex_dump(KERN_ERR, " old fsid: ", | ||
609 | DUMP_PREFIX_NONE, 16, 1, | ||
610 | (void *)&client->fsid, 16, 0); | ||
611 | pr_err("fsid mismatch\n"); | ||
612 | return -1; | 607 | return -1; |
613 | } | 608 | } |
614 | } else { | 609 | } else { |