|
@@ -2391,8 +2391,8 @@ int dbg_check_nondata_nodes_order(struct ubifs_info *c, struct list_head *head)
|
|
ubifs_dump_node(c, sa->node);
|
|
ubifs_dump_node(c, sa->node);
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
}
|
|
}
|
|
- if (sa->type != UBIFS_INO_NODE && sa->type != UBIFS_DENT_NODE &&
|
|
|
|
- sa->type != UBIFS_XENT_NODE) {
|
|
|
|
|
|
+ if (sb->type != UBIFS_INO_NODE && sb->type != UBIFS_DENT_NODE &&
|
|
|
|
+ sb->type != UBIFS_XENT_NODE) {
|
|
ubifs_err(c, "bad node type %d", sb->type);
|
|
ubifs_err(c, "bad node type %d", sb->type);
|
|
ubifs_dump_node(c, sb->node);
|
|
ubifs_dump_node(c, sb->node);
|
|
return -EINVAL;
|
|
return -EINVAL;
|