mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-17 20:54:10 +00:00
ubifs: ubifs_dump_node: Dump all branches of the index node
An index node can have up to c->fanout branches, all branches should be displayed while dumping index node. Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
parent
bf6dab7a6c
commit
b80a974b8c
1 changed files with 1 additions and 1 deletions
|
@ -537,7 +537,7 @@ void ubifs_dump_node(const struct ubifs_info *c, const void *node, int node_len)
|
|||
pr_err("\tlevel %d\n", (int)le16_to_cpu(idx->level));
|
||||
pr_err("\tBranches:\n");
|
||||
|
||||
for (i = 0; i < n && i < c->fanout - 1; i++) {
|
||||
for (i = 0; i < n && i < c->fanout; i++) {
|
||||
const struct ubifs_branch *br;
|
||||
|
||||
br = ubifs_idx_branch(c, idx, i);
|
||||
|
|
Loading…
Add table
Reference in a new issue