diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ubifs/debug.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/fs/ubifs/debug.c b/fs/ubifs/debug.c index 350fedecc833..792c5a16c182 100644 --- a/fs/ubifs/debug.c +++ b/fs/ubifs/debug.c | |||
@@ -1010,20 +1010,20 @@ static int dbg_check_key_order(struct ubifs_info *c, struct ubifs_zbranch *zbr1, | |||
1010 | err = 1; | 1010 | err = 1; |
1011 | key_read(c, &dent1->key, &key); | 1011 | key_read(c, &dent1->key, &key); |
1012 | if (keys_cmp(c, &zbr1->key, &key)) { | 1012 | if (keys_cmp(c, &zbr1->key, &key)) { |
1013 | ubifs_err("1st entry at %d:%d has key %s", zbr1->lnum, | 1013 | dbg_err("1st entry at %d:%d has key %s", zbr1->lnum, |
1014 | zbr1->offs, DBGKEY(&key)); | 1014 | zbr1->offs, DBGKEY(&key)); |
1015 | ubifs_err("but it should have key %s according to tnc", | 1015 | dbg_err("but it should have key %s according to tnc", |
1016 | DBGKEY(&zbr1->key)); | 1016 | DBGKEY(&zbr1->key)); |
1017 | dbg_dump_node(c, dent1); | 1017 | dbg_dump_node(c, dent1); |
1018 | goto out_free; | 1018 | goto out_free; |
1019 | } | 1019 | } |
1020 | 1020 | ||
1021 | key_read(c, &dent2->key, &key); | 1021 | key_read(c, &dent2->key, &key); |
1022 | if (keys_cmp(c, &zbr2->key, &key)) { | 1022 | if (keys_cmp(c, &zbr2->key, &key)) { |
1023 | ubifs_err("2nd entry at %d:%d has key %s", zbr1->lnum, | 1023 | dbg_err("2nd entry at %d:%d has key %s", zbr1->lnum, |
1024 | zbr1->offs, DBGKEY(&key)); | 1024 | zbr1->offs, DBGKEY(&key)); |
1025 | ubifs_err("but it should have key %s according to tnc", | 1025 | dbg_err("but it should have key %s according to tnc", |
1026 | DBGKEY(&zbr2->key)); | 1026 | DBGKEY(&zbr2->key)); |
1027 | dbg_dump_node(c, dent2); | 1027 | dbg_dump_node(c, dent2); |
1028 | goto out_free; | 1028 | goto out_free; |
1029 | } | 1029 | } |
@@ -1037,9 +1037,9 @@ static int dbg_check_key_order(struct ubifs_info *c, struct ubifs_zbranch *zbr1, | |||
1037 | goto out_free; | 1037 | goto out_free; |
1038 | } | 1038 | } |
1039 | if (cmp == 0 && nlen1 == nlen2) | 1039 | if (cmp == 0 && nlen1 == nlen2) |
1040 | ubifs_err("2 xent/dent nodes with the same name"); | 1040 | dbg_err("2 xent/dent nodes with the same name"); |
1041 | else | 1041 | else |
1042 | ubifs_err("bad order of colliding key %s", | 1042 | dbg_err("bad order of colliding key %s", |
1043 | DBGKEY(&key)); | 1043 | DBGKEY(&key)); |
1044 | 1044 | ||
1045 | ubifs_msg("first node at %d:%d\n", zbr1->lnum, zbr1->offs); | 1045 | ubifs_msg("first node at %d:%d\n", zbr1->lnum, zbr1->offs); |