mirror of
https://github.com/dynup/kpatch
synced 2025-01-18 02:50:49 +00:00
create-diff-object: propagate child symbol changes
Propagate child symbol changes to it's parent. Signed-off-by: Artem Savkov <asavkov@redhat.com>
This commit is contained in:
parent
73a278c2b6
commit
246c6e2ae7
@ -644,8 +644,14 @@ static void kpatch_compare_sections(struct list_head *seclist)
|
||||
if (sec->base->sym && sec->base->sym->status != CHANGED)
|
||||
sec->base->sym->status = sec->status;
|
||||
} else {
|
||||
if (sec->sym && sec->sym->status != CHANGED)
|
||||
sec->sym->status = sec->status;
|
||||
struct symbol *sym = sec->sym;
|
||||
|
||||
if (sym && sym->status != CHANGED)
|
||||
sym->status = sec->status;
|
||||
|
||||
if (sym && sym->child && sym->status == SAME &&
|
||||
sym->child->sec->status == CHANGED)
|
||||
sym->status = CHANGED;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user